实时渲染
This commit is contained in:
@@ -49,7 +49,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
cancel() {
|
cancel() {
|
||||||
this.$router.push({})
|
return this.$router.push({})
|
||||||
},
|
},
|
||||||
submit() {
|
submit() {
|
||||||
this.$refs.ThemeForm.validate(v => {
|
this.$refs.ThemeForm.validate(v => {
|
||||||
@@ -59,7 +59,7 @@ export default {
|
|||||||
this.instance.post("/app/appdvcpconfig/updateSysColorScheme", {...this.form, colorScheme}).then(res => {
|
this.instance.post("/app/appdvcpconfig/updateSysColorScheme", {...this.form, colorScheme}).then(res => {
|
||||||
if (res?.code == 0) {
|
if (res?.code == 0) {
|
||||||
this.$message.success("保存成功!")
|
this.$message.success("保存成功!")
|
||||||
this.cancel()
|
this.cancel().then(() => location.reload())
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user