forked from JointCloud/JCC-RIP
边缘节点显示菜单bug修复
This commit is contained in:
parent
4e093f27bc
commit
a39dc28789
|
@ -24,7 +24,7 @@ const actions = {
|
||||||
commit('SET_CLUSTER', data)
|
commit('SET_CLUSTER', data)
|
||||||
},
|
},
|
||||||
getClusterList({ commit }, data) {
|
getClusterList({ commit }, data) {
|
||||||
return getClusterList().then(response => {
|
return getClusterList({ pageNum: 1, pageSize: 999 }).then(response => {
|
||||||
const List = response.data.list.filter(e => e.cluster_name === state.clusterName)
|
const List = response.data.list.filter(e => e.cluster_name === state.clusterName)
|
||||||
const hasEdge = List.length === 1 ? List[0].edge : false
|
const hasEdge = List.length === 1 ? List[0].edge : false
|
||||||
commit('SET_EDGE', hasEdge)
|
commit('SET_EDGE', hasEdge)
|
||||||
|
|
Loading…
Reference in New Issue