实时渲染
This commit is contained in:
		| @@ -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()) | ||||
|             } | ||||
|           }) | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user