From bc2e64cf1a4da383544cad92ad3f178f7d61f9d8 Mon Sep 17 00:00:00 2001 From: LiuJiaNan <15703339975@163.com> Date: Thu, 20 Aug 2026 10:52:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E7=BB=9F=E4=B8=80=E8=8F=9C=E5=8D=95?= =?UTF-8?q?ID=E5=8F=82=E6=95=B0=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将菜单ID参数名由 menuid 修改为 menuId - 修改多个列表页面中 useTable 调用的 params 配置 - 保证参数命名一致性,避免潜在错误 - 优化代码可读性和维护性 --- .../Enterprise/StakeholderUnit/AccountManage/List/index.js | 2 +- .../Supervision/BranchCompany/AccountManage/List/index.js | 2 +- .../Supervision/BranchCompany/EnterpriseInfo/List/index.js | 2 +- .../Supervision/StakeholderUnit/AccountManage/List/index.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/Container/Enterprise/StakeholderUnit/AccountManage/List/index.js b/src/pages/Container/Enterprise/StakeholderUnit/AccountManage/List/index.js index f20aede..094cf81 100644 --- a/src/pages/Container/Enterprise/StakeholderUnit/AccountManage/List/index.js +++ b/src/pages/Container/Enterprise/StakeholderUnit/AccountManage/List/index.js @@ -25,7 +25,7 @@ function List(props) { const { tableProps, getData } = useTable(props["corpInfoList"], { form, ready: menuId !== undefined, - params: () => ({ menuid: menuId }), + params: () => ({ menuId }), transform: (formData) => { return { ...formData, diff --git a/src/pages/Container/Supervision/BranchCompany/AccountManage/List/index.js b/src/pages/Container/Supervision/BranchCompany/AccountManage/List/index.js index 2c4bda3..72e8de0 100644 --- a/src/pages/Container/Supervision/BranchCompany/AccountManage/List/index.js +++ b/src/pages/Container/Supervision/BranchCompany/AccountManage/List/index.js @@ -54,7 +54,7 @@ function List(props) { const { tableProps, getData } = useTable(props["corpInfoList"], { form, ready: menuId !== undefined, - params: () => ({ menuid: menuId }), + params: () => ({ menuId }), }); const [addModalOpen, setAddModalOpen] = useState(false); const [currentId, setCurrentId] = useState(""); diff --git a/src/pages/Container/Supervision/BranchCompany/EnterpriseInfo/List/index.js b/src/pages/Container/Supervision/BranchCompany/EnterpriseInfo/List/index.js index 31909d2..deed0cf 100644 --- a/src/pages/Container/Supervision/BranchCompany/EnterpriseInfo/List/index.js +++ b/src/pages/Container/Supervision/BranchCompany/EnterpriseInfo/List/index.js @@ -50,7 +50,7 @@ function List(props) { const { tableProps, getData } = useTable(props["corpInfoList"], { form, ready: menuId !== undefined, - params: () => ({ menuid: menuId }), + params: () => ({ menuId }), transform: (formData) => { return { ...formData, diff --git a/src/pages/Container/Supervision/StakeholderUnit/AccountManage/List/index.js b/src/pages/Container/Supervision/StakeholderUnit/AccountManage/List/index.js index 80c9d69..34af472 100644 --- a/src/pages/Container/Supervision/StakeholderUnit/AccountManage/List/index.js +++ b/src/pages/Container/Supervision/StakeholderUnit/AccountManage/List/index.js @@ -23,7 +23,7 @@ function List(props) { const { tableProps, getData } = useTable(props["corpInfoList"], { form, ready: menuId !== undefined, - params: () => ({ menuid: menuId }), + params: () => ({ menuId }), transform: (formData) => { return { ...formData,