优化自建DNS交互

This commit is contained in:
刘祥超
2021-08-10 10:47:12 +08:00
parent 4d092f329b
commit 6da4949c98
17 changed files with 686 additions and 147 deletions

View File

@@ -0,0 +1,14 @@
Tea.context(function () {
this.deleteDomain = function (domainId) {
let that = this
teaweb.confirm("确定要删除此域名吗?", function () {
that.$post("/ns/domains/delete")
.params({
domainId: domainId
})
.success(function () {
teaweb.reload()
})
})
}
})