diff --git a/app/view/make/make.js b/app/view/make/make.js index dda98743..570e7a10 100644 --- a/app/view/make/make.js +++ b/app/view/make/make.js @@ -114,7 +114,7 @@ function main(ver, basefile, pwa, store) { refKey.push(key) let str = target[key] if (pages[i] == 'setting.vue.js') { - str = str.replace(/'/g, '\\') + str = str.replace(/'/g, "\\'") } var regExp = new RegExp('@@' + key + '@@', 'g') source = source.replace(regExp, str)