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) {