Commit 7405bb92db8563cb4619c2b4889bbd41c2c15a5a

Authored by ww
1 parent 8c0f3fe9

fix: 修复账号管理新增账号组织选择未级联选中

... ... @@ -158,7 +158,7 @@
158 158 }
159 159
160 160 const [registerModal, { setModalProps, closeModal }] = useModalInner(async (data) => {
161   - checkStrictly.value = true;
  161 + checkStrictly.value = !!data?.isUpdate;
162 162 await resetFields();
163 163 setModalProps({ confirmLoading: false });
164 164 isUpdate.value = !!data?.isUpdate;
... ...
... ... @@ -163,7 +163,7 @@
163 163
164 164 const [registerModal, { setModalProps, closeModal }] = useModalInner(async (data) => {
165 165 await resetFields();
166   - checkStrictly.value = true;
  166 + checkStrictly.value = !!data?.isUpdate;
167 167 setModalProps({ confirmLoading: false });
168 168 isAdd.value = !!data?.isAdd;
169 169 const groupListModel = await findCurrentUserGroups();
... ...