优化URL跳转交互

This commit is contained in:
刘祥超
2021-09-01 08:49:59 +08:00
parent 94b3559eee
commit 3bf374ea5a
3 changed files with 9 additions and 7 deletions

View File

@@ -69,8 +69,11 @@ Vue.component("http-host-redirect-box", {
})
},
remove: function (index) {
this.redirects.$remove(index)
this.change()
let that = this
teaweb.confirm("确定要删除这条跳转规则吗?", function () {
that.redirects.$remove(index)
that.change()
})
},
change: function () {
let that = this