diff --git a/src/store/modules/cluster.js b/src/store/modules/cluster.js index d70c47e..d6c6b73 100644 --- a/src/store/modules/cluster.js +++ b/src/store/modules/cluster.js @@ -24,7 +24,7 @@ const actions = { commit('SET_CLUSTER', 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 hasEdge = List.length === 1 ? List[0].edge : false commit('SET_EDGE', hasEdge)