From de40e0e22a6116805428d105f9d4fab7a38d15a4 Mon Sep 17 00:00:00 2001 From: cutls Date: Tue, 8 Oct 2019 23:25:44 +0900 Subject: [PATCH] Fix #132 --- app/view/make/make.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/view/make/make.js b/app/view/make/make.js index e2378bb8..f77f4e2f 100644 --- a/app/view/make/make.js +++ b/app/view/make/make.js @@ -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) })