Escape backslashes in javascript string (#2861)

This commit is contained in:
ns6089 2024-07-15 18:20:02 +03:00 committed by GitHub
parent e34f446210
commit aadd6eec19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@ const props = defineProps([
]) ])
const config = ref(props.config) const config = ref(props.config)
const outputNamePlaceholder = (props.platform === 'windows') ? '\\.\DISPLAY1' : '0' const outputNamePlaceholder = (props.platform === 'windows') ? '\\\\.\\DISPLAY1' : '0'
</script> </script>
<template> <template>