Fix: reset editMonitor after save

This commit is contained in:
Nelson Chan 2021-09-10 11:53:11 +08:00
parent 73f4b8e177
commit 9b5abf9bb1

View file

@ -347,7 +347,8 @@ export default {
this.$root.getSocket().emit("editMonitor", this.monitor, (res) => { this.$root.getSocket().emit("editMonitor", this.monitor, (res) => {
this.processing = false; this.processing = false;
this.$root.toastRes(res) this.$root.toastRes(res);
this.init();
}) })
} }
}, },