escape misktake
This commit is contained in:
parent
42e5ad4c59
commit
10cdd72cf7
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue
Block a user