mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-14 12:20:27 +08:00
14 lines
331 B
JavaScript
14 lines
331 B
JavaScript
|
|
Tea.context(function () {
|
|||
|
|
this.success = NotifyReloadSuccess("保存成功")
|
|||
|
|
|
|||
|
|
this.regenerateCNAME = function () {
|
|||
|
|
let serverId = this.serverId
|
|||
|
|
teaweb.confirm("确定要重新生成此服务的CNAME吗?", function () {
|
|||
|
|
this.$post(".regenerateCNAME")
|
|||
|
|
.params({
|
|||
|
|
serverId: serverId
|
|||
|
|
})
|
|||
|
|
.refresh()
|
|||
|
|
})
|
|||
|
|
}
|
|||
|
|
})
|