fix(layout): add OptStore

This commit is contained in:
zhangheng
2026-02-24 16:23:48 +08:00
parent 52b1a627e1
commit ee635b3ee4
6 changed files with 175 additions and 2 deletions

View File

@@ -20,7 +20,8 @@ export default function AdminUserModal(props: {
if (!opened) return
form.setValues({ users: value.map(String) })
form.resetDirty()
}, [opened, value, form])
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [opened, value])
return (
<Modal