From bd5aa397a8427edefac1a6a8229ea323704e005e Mon Sep 17 00:00:00 2001 From: wenlele Date: Fri, 17 Mar 2023 14:27:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E7=BF=BB=E9=A1=B5=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/client/src/sections/install/containers/system.jsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/web/client/src/sections/install/containers/system.jsx b/web/client/src/sections/install/containers/system.jsx index e2d8f13..12a9c47 100644 --- a/web/client/src/sections/install/containers/system.jsx +++ b/web/client/src/sections/install/containers/system.jsx @@ -67,8 +67,9 @@ const Example = (props) => { getProjectPomsList(); }, [query]); - function getProjectPomsList () { - dispatch(install.getProjectPoms({ ...query, keyword })).then((res) => {//获取已绑定项目 + function getProjectPomsList (item) { + let data = item || query + dispatch(install.getProjectPoms({ ...data, keyword })).then((res) => {//获取已绑定项目 if (res.success) { let mytableData = JSON.parse(JSON.stringify(res.payload.data.rows)); let mytableKey = [] @@ -356,7 +357,6 @@ const Example = (props) => {
{ - console.log(v); setKeyword(v) }} />