escape misktake

This commit is contained in:
cutls 2021-04-01 17:37:39 +09:00
parent 42e5ad4c59
commit 10cdd72cf7

View File

@ -133,7 +133,7 @@ function main(ver, basefile, pwa, store) {
}
if (pages[i] == 'setting.vue.js') {
if (str) {
str = str.replace(/'/g, '\\')
str = str.replace(/'/g, "\\'")
}
}
var regExp = new RegExp('@@' + tarKey + '@@', 'g')