⏪ 回滚代码生成的部分模板的单双引号规则

This commit is contained in:
lbw committed 2023-01-06 11:48:07 +08:00
1 parent 1f09b9eb71
commit 785acd7d98
2 files changed
+14 -15

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ CREATE TABLE `gen_form_conf`
(
`id` bigint(20) NOT NULL COMMENT 'ID',
`table_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`form_info` json NOT NULL COMMENT '表单信息',
`form_info` text COLLATE utf8mb4_general_ci NOT NULL COMMENT '表单信息',
`create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
`del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0',
@@ -1,20 +1,19 @@
export const tableOption = {
'border': true,
'index': true,
'indexLabel': '序号',
'stripe': true,
'menuAlign': 'center',
'align': 'center',
'searchMenuSpan': 6,
'column': [
"border": true,
"index": true,
"indexLabel": "序号",
"stripe": true,
"menuAlign": "center",
"align": "center",
"searchMenuSpan": 6,
"column": [
#foreach ($column in $columns)
{
'type': 'input',
'label': '$column.comments',
'prop': '$column.lowerAttrName',
'span': 12
{
"type": "input",
"label": "$column.comments",
"prop": "$column.lowerAttrName",
"span": 12
}#if($foreach.hasNext),#end
#end
]
}