From 2a76877bdb057e874dabf15f9f04210fc4cfb15b Mon Sep 17 00:00:00 2001 From: liangdong Date: Fri, 9 Jan 2026 20:17:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=AD=97=E5=85=B8=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/stage/dict/index.vue | 4 ++-- src/pages/stage/permission/addRoles.vue | 2 +- src/pages/stage/permission/index.vue | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/stage/dict/index.vue b/src/pages/stage/dict/index.vue index c1a6abb..b2945dd 100644 --- a/src/pages/stage/dict/index.vue +++ b/src/pages/stage/dict/index.vue @@ -105,7 +105,7 @@ - import CommonTable from "@/components/proTable/index.vue"; import dictFieldConfig from "./dictFieldConfig.vue"; -import dictManage from "./dictManage.vue"; +import dictManageModules from "./dictManage.vue"; import dayjs from "dayjs"; import { getDictValues, diff --git a/src/pages/stage/permission/addRoles.vue b/src/pages/stage/permission/addRoles.vue index e2fa4c5..ab0e5d6 100644 --- a/src/pages/stage/permission/addRoles.vue +++ b/src/pages/stage/permission/addRoles.vue @@ -135,7 +135,7 @@ const getRoleShowDetail = async (val) =>{ // 监听详情 watch(()=>dialogVisible.value,(val) => { - if(val){ + if(val && props.detailId){ getRoleShowDetail(); } }) diff --git a/src/pages/stage/permission/index.vue b/src/pages/stage/permission/index.vue index 02aa1f5..f5d61a4 100644 --- a/src/pages/stage/permission/index.vue +++ b/src/pages/stage/permission/index.vue @@ -395,6 +395,7 @@ const fetchTableData = () => {}; // 新增角色 const addBtnClick = () => { if (activeTab.value === 1) { + detailId.value = ""; showRoles.value = true; } };