From 620374427274ae8ddeb2c4ad142762798892ada1 Mon Sep 17 00:00:00 2001 From: moon69 <1016830869@qq.com> Date: Fri, 26 Jan 2024 15:40:24 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9D=83=E9=99=90=E8=8C=83?= =?UTF-8?q?=E5=9B=B4=E9=BB=98=E8=AE=A4=E5=B1=95=E5=BC=80=EF=BC=8CdeptExpan?= =?UTF-8?q?d=20=E5=8D=B4=E9=BB=98=E8=AE=A4=E6=8A=98=E5=8F=A0=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: moon69 <1016830869@qq.com> --- src/views/system/role/RoleDataPermissionForm.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/system/role/RoleDataPermissionForm.vue b/src/views/system/role/RoleDataPermissionForm.vue index 8747bd74..5d7801b7 100644 --- a/src/views/system/role/RoleDataPermissionForm.vue +++ b/src/views/system/role/RoleDataPermissionForm.vue @@ -86,7 +86,7 @@ const formData = reactive({ }) const formRef = ref() // 表单 Ref const deptOptions = ref([]) // 部门树形结构 -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 = {