From ea3b3abe367371797fc00b1d9934873522d510cb Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Sat, 25 Feb 2023 20:13:46 +0800 Subject: [PATCH] Fine tune --- server/model/monitor.js | 1 - src/components/MonitorList.vue | 5 +---- src/pages/EditMonitor.vue | 12 ++++++------ 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/server/model/monitor.js b/server/model/monitor.js index 0d915c375..312ac732b 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -39,7 +39,6 @@ class Monitor extends BeanModel { id: this.id, name: this.name, sendUrl: this.sendUrl, - description: this.description, }; if (this.sendUrl) { diff --git a/src/components/MonitorList.vue b/src/components/MonitorList.vue index 5a6e5ef4c..d64b43c18 100644 --- a/src/components/MonitorList.vue +++ b/src/components/MonitorList.vue @@ -19,15 +19,12 @@ {{ $t("No Monitors, please") }} {{ $t("add one") }} - +
{{ item.name }} - - -
diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index f13060c25..fa1935b0c 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -89,12 +89,6 @@
- -
- - -
-
@@ -420,6 +414,12 @@
+ +
+ + +
+