From 155f77d2f668c56717204f45dd6bf32c4ebb8aec Mon Sep 17 00:00:00 2001 From: Cp0204 Date: Mon, 26 Feb 2024 11:31:51 +0800 Subject: [PATCH] =?UTF-8?q?WebUI=E8=B5=84=E6=BA=90=E5=B0=81=E7=A6=81?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/templates/index.html | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/app/templates/index.html b/app/templates/index.html index faf1f32..36d812b 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -18,10 +18,10 @@
-
+

通知

-
+
@@ -60,13 +60,14 @@

任务列表

-
+

任务#

-
+
+
@@ -76,7 +77,7 @@
- +
@@ -142,6 +143,10 @@ }, tasklist: [] } + }, watch: { + 'task.shareurl': function (newVal, oldVal) { + this.task.shareurl_ban = ''; + } }, mounted() { this.fetchData(); @@ -187,6 +192,9 @@ }, removeTask(index) { this.formData.tasklist.splice(index, 1); + }, + clearShareurlBan(task) { + delete task.shareurl_ban; } } });