From 1e5188512252fc5bb8167cebec904a3ac26e20d7 Mon Sep 17 00:00:00 2001 From: vapao Date: Sun, 19 Jan 2020 16:13:48 +0800 Subject: [PATCH] =?UTF-8?q?F=20=E4=BF=AE=E5=A4=8D=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=8F=91=E5=B8=83=E9=85=8D=E7=BD=AE=E6=97=A0=E6=B3=95=E7=AB=8B?= =?UTF-8?q?=E5=8D=B3=E4=BD=BF=E7=94=A8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_web/src/pages/deploy/request/SelectApp.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/spug_web/src/pages/deploy/request/SelectApp.js b/spug_web/src/pages/deploy/request/SelectApp.js index 2dd4e4c..9508aec 100644 --- a/spug_web/src/pages/deploy/request/SelectApp.js +++ b/spug_web/src/pages/deploy/request/SelectApp.js @@ -22,14 +22,12 @@ class SelectApp extends React.Component { } componentDidMount() { + store.loadDeploys(); if (envStore.records.length === 0) { envStore.fetchRecords().then(this._initEnv) } else { this._initEnv() } - if (store.deploys.length === 0) { - store.loadDeploys() - } } _initEnv = () => {