调整代码生成器模板
This commit is contained in:
parent
d2acb7addc
commit
3ab33b550e
|
|
@ -172,7 +172,7 @@ const formRules = {
|
||||||
${column.javaField}: [
|
${column.javaField}: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
#if($column.htmlType=="checkbox" || $column.htmlType=="datetime" || $column.htmlType=="radio" || $column.htmlType=="select")
|
#if($column.htmlType=="checkbox" || $column.htmlType=="datetime" || $column.htmlType=="radio" || $column.htmlType=="select" || $column.htmlType=="imageUpload")
|
||||||
message: '请选择${column.columnComment}',
|
message: '请选择${column.columnComment}',
|
||||||
#else
|
#else
|
||||||
message: '请输入${column.columnComment}',
|
message: '请输入${column.columnComment}',
|
||||||
|
|
@ -226,7 +226,6 @@ const handleClose = () => {
|
||||||
}
|
}
|
||||||
#if($table.treePrimary && $table.treeParent)
|
#if($table.treePrimary && $table.treeParent)
|
||||||
|
|
||||||
// 树表
|
|
||||||
const getLists = async () => {
|
const getLists = async () => {
|
||||||
const data: any = await ${moduleName}Lists()
|
const data: any = await ${moduleName}Lists()
|
||||||
const item = { ${table.treePrimary}: 0, ${table.treeName}: '顶级', children: [] }
|
const item = { ${table.treePrimary}: 0, ${table.treeName}: '顶级', children: [] }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue