DNS服务支持密钥管理/“域名服务”改为“自建DNS”

This commit is contained in:
刘祥超
2021-07-25 09:44:29 +08:00
parent 2e7d64d97b
commit 6b9d5cf7a0
22 changed files with 621 additions and 29 deletions

View File

@@ -0,0 +1,20 @@
Tea.context(function () {
this.secretType = "clear"
this.secret = ""
this.$delay(function () {
this.$watch("secretType", function () {
this.secret = ""
})
})
this.generateSecret = function () {
this.$post(".generateSecret")
.params({
secretType: this.secretType
})
.success(function (resp) {
this.secret = resp.data.secret
})
}
})