From 7ee5bcb9356d0be4cc72ece875e22bb36f0d6348 Mon Sep 17 00:00:00 2001 From: hooray <304327508@qq.com> Date: Sun, 18 Dec 2022 18:52:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=B8=AD=E5=A4=8D=E5=88=B6=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=8C=89=E9=92=AE=EF=BC=8C=E5=A4=8D=E5=88=B6=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E8=BF=87=E5=A4=9A=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/components/AppSetting/index.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/layouts/components/AppSetting/index.vue b/src/layouts/components/AppSetting/index.vue index 08f25e2a..2fcd0c18 100644 --- a/src/layouts/components/AppSetting/index.vue +++ b/src/layouts/components/AppSetting/index.vue @@ -37,11 +37,7 @@ watch(copied, (val) => { }) function handleCopy() { - const settings: any = cloneDeep(settingsStore.$state) - delete settings.subMenuCollapseLastStatus - delete settings.mode - delete settings.title - copy(JSON.stringify(settings, null, 2)) + copy(JSON.stringify(settingsStore.settings, null, 2)) }