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; } };