From a39dc28789ec2964a01935d4718ba17a21d10a94 Mon Sep 17 00:00:00 2001 From: jhnine Date: Wed, 15 Feb 2023 17:32:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=B9=E7=BC=98=E8=8A=82=E7=82=B9=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E8=8F=9C=E5=8D=95bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/cluster.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)