优化代码生成额外参数编辑报错,新增排序列

This commit is contained in:
不做码农
2022-05-22 13:50:27 +08:00
parent 99595c1993
commit 64ce449353
15 changed files with 262 additions and 228 deletions

View File

@@ -171,7 +171,7 @@ export default {
getGenTable(tableId).then((res) => {
this.loading = false
this.columns = res.data.info.columns
this.info = res.data.info
this.info = { ...res.data.info, ...res.data.info.options }
this.tables = res.data.tables // 子表
})
/** 查询字典下拉列表 */
@@ -201,7 +201,7 @@ export default {
parentMenuId: genTable.parentMenuId,
sortField: genTable.sortField,
sortType: genTable.sortType,
checkedBtn: genTable.checkedBtn.toString(),
checkedBtn: genTable.checkedBtn,
permissionPrefix: genTable.permissionPrefix,
}
console.log('genForm', genTable)