生成节点DNS解析时区分节点是否已安装

This commit is contained in:
GoEdgeLab
2023-03-18 16:05:46 +08:00
parent 352bf9cda2
commit d44ecbb917
11 changed files with 106 additions and 31 deletions

View File

@@ -20,7 +20,8 @@ Tea.context(function () {
// 设置节点安装状态
this.updateNodeIsInstalled = function (isInstalled) {
teaweb.confirm("确定要将当前节点修改为未安装状态?", function () {
let msg = isInstalled ? "html:确定要将当前节点修改为<strong>已安装</strong>状态?" : "html:确定要将当前节点修改为<strong>未安装</strong>状态?"
teaweb.confirm(msg, function () {
this.$post("/clusters/cluster/node/updateInstallStatus")
.params({
nodeId: this.nodeId,