mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-15 17:00:43 +08:00
删除二次确认
This commit is contained in:
parent
edd8f7fa3e
commit
ba09ae2f76
@ -191,6 +191,7 @@
|
|||||||
this.formData.cookie.push("");
|
this.formData.cookie.push("");
|
||||||
},
|
},
|
||||||
removeCookie(index) {
|
removeCookie(index) {
|
||||||
|
if (confirm("确认删除吗?"))
|
||||||
this.formData.cookie.splice(index, 1);
|
this.formData.cookie.splice(index, 1);
|
||||||
},
|
},
|
||||||
addPush() {
|
addPush() {
|
||||||
@ -199,6 +200,7 @@
|
|||||||
this.$set(this.formData.push_config, key, "");
|
this.$set(this.formData.push_config, key, "");
|
||||||
},
|
},
|
||||||
removePush(key) {
|
removePush(key) {
|
||||||
|
if (confirm("确认删除吗?"))
|
||||||
this.$delete(this.formData.push_config, key);
|
this.$delete(this.formData.push_config, key);
|
||||||
},
|
},
|
||||||
addTask() {
|
addTask() {
|
||||||
@ -213,6 +215,7 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
removeTask(index) {
|
removeTask(index) {
|
||||||
|
if (confirm("确认删除吗?"))
|
||||||
this.formData.tasklist.splice(index, 1);
|
this.formData.tasklist.splice(index, 1);
|
||||||
},
|
},
|
||||||
clearShareurlBan(task) {
|
clearShareurlBan(task) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user