mirror of
https://gitee.com/log4j/pig-ui.git
synced 2024-12-23 13:43:51 +08:00
fix 代码生成的表单查询条件不持久化
Signed-off-by: Mac666 <support@mail.pigx.vip>
This commit is contained in:
parent
9a7cd55bbd
commit
4d6f31e856
@ -268,8 +268,8 @@ const getTable = (dsName: string, tableName: string) => {
|
||||
.then((res) => {
|
||||
tableId.value = res.data.id;
|
||||
fieldList.value = res.data.fieldList.map((item) => {
|
||||
item.queryFormType = propToType[item.fieldType];
|
||||
item.formType = propToType[item.fieldType];
|
||||
item.queryFormType ? item.queryFormType : propToType[item.fieldType];
|
||||
item.formType ? item.formType : propToType[item.fieldType];
|
||||
return item;
|
||||
});
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user