fix: 修复初始值使用错误

This commit is contained in:
2024-05-19 13:55:39 +08:00
parent f8ded4b491
commit fd55ad4228
12 changed files with 14 additions and 68 deletions

View File

@@ -112,13 +112,8 @@ const rules: FormInstance['rules'] = {
}
const { form, resetForm } = useForm({
name: '',
code: '',
sort: 999,
description: undefined,
menuIds: undefined,
dataScope: 4,
deptIds: undefined
dataScope: 4
})
const menuTreeRef = ref()