We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0ce1f3 commit 6203744Copy full SHA for 6203744
src/views/system/role/RoleDataPermissionForm.vue
@@ -86,7 +86,7 @@ const formData = reactive({
86
})
87
const formRef = ref() // 表单 Ref
88
const deptOptions = ref<any[]>([]) // 部门树形结构
89
-const deptExpand = ref(false) // 展开/折叠
+const deptExpand = ref(true) // 展开/折叠
90
const treeRef = ref() // 菜单树组件 Ref
91
const treeNodeAll = ref(false) // 全选/全不选
92
const checkStrictly = ref(true) // 是否严格模式,即父子不关联
@@ -135,7 +135,7 @@ const submitForm = async () => {
135
const resetForm = () => {
136
// 重置选项
137
treeNodeAll.value = false
138
- deptExpand.value = false
+ deptExpand.value = true
139
checkStrictly.value = true
140
// 重置表单
141
formData.value = {
0 commit comments