This commit is contained in:
cutls 2019-10-08 23:25:44 +09:00
parent 44ccd111b2
commit de40e0e22a

View File

@ -38,7 +38,9 @@ for (let i = 0; i < samples.length; i++) {
Object.keys(target).forEach(function (key) {
refKey.push(key)
let str = target[key]
str = str.replace(/"/g, '\\"')
if(pages[i]=="setting.vue.js"){
str = str.replace(/"/g, '\\"')
}
var regExp = new RegExp("@@" + key + "@@", "g")
source = source.replace(regExp, str)
})