mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-05 22:30:28 +08:00
8 lines
289 B
JavaScript
8 lines
289 B
JavaScript
|
|
Tea.context(function () {
|
||
|
|
this.clusterId = 0;
|
||
|
|
if (this.node.cluster != null && this.node.cluster.id > 0) {
|
||
|
|
this.clusterId = this.node.cluster.id;
|
||
|
|
}
|
||
|
|
|
||
|
|
this.success = NotifySuccess("保存成功", "/ns/clusters/cluster/node?clusterId=" + this.clusterId + "&nodeId=" + this.node.id);
|
||
|
|
});
|