fix: 🐛 字典和菜单打包警告问题修复

This commit is contained in:
Ray.Hao
2025-03-24 10:36:52 +08:00
parent 96519a69c2
commit c82ef63c62
4 changed files with 10 additions and 6 deletions

View File

@@ -656,10 +656,7 @@ async function handleOpenDialog(tableName: string) {
currentTableName.value = tableName;
// 获取字典数据
DictAPI.getList().then((data) => {
dictOptions.value = data.map((item) => ({
label: item.name,
value: item.dictCode,
}));
dictOptions.value = data;
loading.value = true;
GeneratorAPI.getGenConfig(tableName)
.then((data) => {