fix: 🐛 字典和菜单打包警告问题修复
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user