!375 修复权限范围默认展开,deptExpand 却默认折叠的问题

Merge pull request !375 from moon69/N/A
This commit is contained in:
芋道源码 2024-02-17 12:41:36 +00:00 committed by Gitee
commit a3b21e70dc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -86,7 +86,7 @@ const formData = reactive({
})
const formRef = ref() // Ref
const deptOptions = ref<any[]>([]) //
const deptExpand = ref(false) // /
const deptExpand = ref(true) // /
const treeRef = ref() // Ref
const treeNodeAll = ref(false) // /
const checkStrictly = ref(true) //
@ -135,7 +135,7 @@ const submitForm = async () => {
const resetForm = () => {
//
treeNodeAll.value = false
deptExpand.value = false
deptExpand.value = true
checkStrictly.value = true
//
formData.value = {