浏览代码

添加字典值的时候带上默认的dictTypeId

1961117443 3 年之前
父节点
当前提交
04531c3fea
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Web/src/views/system/dict/component/dictDataDialog.vue

+ 1 - 1
Web/src/views/system/dict/component/dictDataDialog.vue

@@ -124,7 +124,7 @@ const resetQuery = () => {
 // 打开新增页面
 // 打开新增页面
 const openAddDictData = () => {
 const openAddDictData = () => {
 	state.editDictDataTitle = '添加字典值';
 	state.editDictDataTitle = '添加字典值';
-	editDictDataRef.value.openDialog({ status: 1, orderNo: 100 });
+	editDictDataRef.value.openDialog({ status: 1, orderNo: 100, dictTypeId: state.queryParams.dictTypeId });
 };
 };
 
 
 // 打开编辑页面
 // 打开编辑页面