From d84b600f4e68ae5ea7c7e8f2966bcfce9a9a41fd Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Mon, 24 Mar 2025 21:13:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E7=88=B6=E5=AD=90=E9=BB=98=E8=AE=A4=E8=81=94?= =?UTF-8?q?=E5=8A=A8=E9=BB=98=E8=AE=A4=E9=80=89=E4=B8=AD=E5=BC=95=E8=B5=B7?= =?UTF-8?q?=E7=9A=84=E5=B1=95=E7=A4=BA=E9=97=AE=E9=A2=98=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E6=94=B9.gitignore=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + src/views/admin/system/role/components/menus.vue | 2 +- src/views/admin/system/role/index.vue | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index dccd5ce..b78af96 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ dist-ssr stats.html pnpm-lock.yaml package-lock.json +.env.development \ No newline at end of file diff --git a/src/views/admin/system/role/components/menus.vue b/src/views/admin/system/role/components/menus.vue index 5682e8e..68965a8 100644 --- a/src/views/admin/system/role/components/menus.vue +++ b/src/views/admin/system/role/components/menus.vue @@ -57,7 +57,7 @@ const modelValue = defineModel("modelValue", { }); const permKeywords = ref(""); const isExpanded = ref(true); -const parentChildLinked = ref(true); +const parentChildLinked = ref(false); const permTreeRef = ref(); // 展开/收缩 菜单菜单树 function togglePermTree() { diff --git a/src/views/admin/system/role/index.vue b/src/views/admin/system/role/index.vue index 96a7dcb..ba710a9 100644 --- a/src/views/admin/system/role/index.vue +++ b/src/views/admin/system/role/index.vue @@ -249,7 +249,7 @@ const assignPermDialogVisible = ref(false); const permKeywords = ref(""); const isExpanded = ref(true); -const parentChildLinked = ref(true); +const parentChildLinked = ref(false); // 查询 function handleQuery() {