实时渲染

This commit is contained in:
aixianling
2022-07-27 17:32:43 +08:00
parent 32eaae40d7
commit 2a8d1f17a5

View File

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