🐛 Fixing a bug. close #I4HNIT 表单设计器 不能回显字段

This commit is contained in:
MicLng 2021-11-10 13:55:02 +08:00
parent 3a979e3923
commit 333c535504

View File

@ -1,5 +1,3 @@
#set($excludeColumns = ["create_time","update_time","create_by","update_by"])
export const tableOption = { export const tableOption = {
"border": true, "border": true,
"index": true, "index": true,
@ -9,6 +7,7 @@ export const tableOption = {
"align": "center", "align": "center",
"searchMenuSpan": 6, "searchMenuSpan": 6,
"column": [ "column": [
#set($excludeColumns = ["create_time","update_time","create_by","update_by"])
#foreach ($column in $columns) #foreach ($column in $columns)
## 当列是主键 或者 列是审计字段时候, 新增不显示,编辑的时候显示单不能编辑 ## 当列是主键 或者 列是审计字段时候, 新增不显示,编辑的时候显示单不能编辑
#if($column.columnName == $pk.columnName || $excludeColumns.contains($column.columnName)) #if($column.columnName == $pk.columnName || $excludeColumns.contains($column.columnName))