From ed18398563c4b62a60c5ffac68d27b941f75d542 Mon Sep 17 00:00:00 2001 From: youngS Date: Mon, 26 Apr 2021 13:54:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=89=8D=E7=AB=AF=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_client/vue.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fir_client/vue.config.js b/fir_client/vue.config.js index 06d19ed..1ead518 100644 --- a/fir_client/vue.config.js +++ b/fir_client/vue.config.js @@ -55,7 +55,9 @@ const page = argv[3]; if(page){ for(const key of Object.keys(pages)){ if(key === page){ - pages = {key:pages[key]} + const tmp = pages[key]; + pages = {}; + pages[key] = tmp; } } }