fix:字典管理调整

This commit is contained in:
liangdong
2026-01-09 20:17:22 +08:00
parent 0a54a7affb
commit 2a76877bdb
3 changed files with 4 additions and 3 deletions

View File

@@ -105,7 +105,7 @@
</CommonTable>
<!-- 新增-编辑字典弹窗 -->
<dict-manage
<dict-manage-modules
v-model:dictVisible="dictVisible"
:row="selectItem"
@confirm-success="onConfirmSuccess"
@@ -118,7 +118,7 @@
<script setup lang="ts">
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,

View File

@@ -135,7 +135,7 @@ const getRoleShowDetail = async (val) =>{
// 监听详情
watch(()=>dialogVisible.value,(val) => {
if(val){
if(val && props.detailId){
getRoleShowDetail();
}
})

View File

@@ -395,6 +395,7 @@ const fetchTableData = () => {};
// 新增角色
const addBtnClick = () => {
if (activeTab.value === 1) {
detailId.value = "";
showRoles.value = true;
}
};