Fix: reset editMonitor after save

pull/278/head
Nelson Chan 3 years ago
parent 73f4b8e177
commit 9b5abf9bb1

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

Loading…
Cancel
Save