From 9b5abf9bb1af646a12c69b599c00a399a4c64f56 Mon Sep 17 00:00:00 2001 From: Nelson Chan Date: Fri, 10 Sep 2021 11:53:11 +0800 Subject: [PATCH] Fix: reset editMonitor after save --- src/pages/EditMonitor.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index d87bb4dd4..cc836efee 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -347,7 +347,8 @@ export default { this.$root.getSocket().emit("editMonitor", this.monitor, (res) => { this.processing = false; - this.$root.toastRes(res) + this.$root.toastRes(res); + this.init(); }) } },