From 2a8d1f17a5e821b157035cbc57ee1eaee473e755 Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 27 Jul 2022 17:32:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E6=97=B6=E6=B8=B2=E6=9F=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/apps/AppQyWxConfig/themeSetting.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/apps/AppQyWxConfig/themeSetting.vue b/core/apps/AppQyWxConfig/themeSetting.vue index 196f2827..15e205bf 100644 --- a/core/apps/AppQyWxConfig/themeSetting.vue +++ b/core/apps/AppQyWxConfig/themeSetting.vue @@ -49,7 +49,7 @@ export default { }) }, cancel() { - this.$router.push({}) + return this.$router.push({}) }, submit() { this.$refs.ThemeForm.validate(v => { @@ -59,7 +59,7 @@ export default { this.instance.post("/app/appdvcpconfig/updateSysColorScheme", {...this.form, colorScheme}).then(res => { if (res?.code == 0) { this.$message.success("保存成功!") - this.cancel() + this.cancel().then(() => location.reload()) } }) }