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} /> : ''