From ba09ae2f7625d95bc35a800dbb51535b10f03882 Mon Sep 17 00:00:00 2001 From: Cp0204 Date: Wed, 28 Feb 2024 17:09:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=BA=8C=E6=AC=A1=E7=A1=AE?= =?UTF-8?q?=E8=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/templates/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/templates/index.html b/app/templates/index.html index d24d88b..e24e31d 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -191,6 +191,7 @@ this.formData.cookie.push(""); }, removeCookie(index) { + if (confirm("确认删除吗?")) this.formData.cookie.splice(index, 1); }, addPush() { @@ -199,6 +200,7 @@ this.$set(this.formData.push_config, key, ""); }, removePush(key) { + if (confirm("确认删除吗?")) this.$delete(this.formData.push_config, key); }, addTask() { @@ -213,6 +215,7 @@ }); }, removeTask(index) { + if (confirm("确认删除吗?")) this.formData.tasklist.splice(index, 1); }, clearShareurlBan(task) {