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; } } });