From 5b06763d39a816fd675aeea09dbb5093903d4e0d Mon Sep 17 00:00:00 2001 From: dengyinhuan Date: Tue, 28 Feb 2023 13:08:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=94=A8=E6=88=B7=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E7=BB=93=E6=9E=84=E7=89=A9=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/client/src/sections/organization/components/userModal.js | 1 - web/client/src/sections/organization/containers/user.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/web/client/src/sections/organization/components/userModal.js b/web/client/src/sections/organization/components/userModal.js index 443f651..1feddd6 100644 --- a/web/client/src/sections/organization/components/userModal.js +++ b/web/client/src/sections/organization/components/userModal.js @@ -143,7 +143,6 @@ const UserModal = (props) => { // fieldProps={{//这里使用了select的onChange方法,必须使用这样的写法来进行调用onChange方法 // onChange:(val) => handleChange(val), // }} - request={async () => { console.log(tableList); const opts = tableList?.map(i=>({label:i.name,value:i.id})) diff --git a/web/client/src/sections/organization/containers/user.js b/web/client/src/sections/organization/containers/user.js index 63eddfe..371c4ba 100644 --- a/web/client/src/sections/organization/containers/user.js +++ b/web/client/src/sections/organization/containers/user.js @@ -315,7 +315,7 @@ console.log(tableList,'tableList') onVisibleChange={setModalVisible} modalType={modalType} onConfirm={onConfirm} - editData={modalRecord} + editData={{...modalRecord,structure:modalRecord.structure||[]}} tableList={tableList} /> : ''