Error on en setting
This commit is contained in:
parent
5c5c57739a
commit
6a11099b50
|
@ -57,7 +57,7 @@ function main(ver, basefile) {
|
|||
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);
|
||||
|
@ -72,7 +72,7 @@ function main(ver, basefile) {
|
|||
}
|
||||
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