mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-10 00:00:26 +08:00
优化代码
This commit is contained in:
@@ -48,8 +48,8 @@ func (this *UpdateAction) RunGet(params struct {
|
||||
}
|
||||
|
||||
this.Data["clusterId"] = 0
|
||||
if user.Cluster != nil {
|
||||
this.Data["clusterId"] = user.Cluster.Id
|
||||
if user.NodeCluster != nil {
|
||||
this.Data["clusterId"] = user.NodeCluster.Id
|
||||
}
|
||||
|
||||
this.Show()
|
||||
|
||||
Reference in New Issue
Block a user