集群列表页也增加“创建节点”链接

This commit is contained in:
刘祥超
2023-05-27 19:55:06 +08:00
parent b05e53ce58
commit 6b95947acb
6 changed files with 87 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
Tea.context(function () {
this.clusterId = 0
this.changeCluster = function(clusterId) {
this.clusterId = clusterId
}
this.goNext = function () {
if (this.clusterId > 0) {
window.location = "/clusters/cluster/createNode?clusterId=" + this.clusterId
}
}
})