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) => {