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()) } }) }