File tree 2 files changed +5
-5
lines changed
continew-plugin/continew-plugin-generator/src/main/resources/templates/frontend
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -80,15 +80,15 @@ const columns: ColumnItem[] = reactive([
80
80
< #elseif fieldConfig .formType = ' RADIO' >
81
81
type: ' radio-group' ,
82
82
< / #if >
83
+ span: 24 ,
84
+ < #if fieldConfig .isRequired >
85
+ required: true ,
86
+ < / #if >
83
87
< #if fieldConfig .dictCode ?? && fieldConfig .dictCode != ' ' >
84
88
props: {
85
89
options: ${fieldConfig .dictCode },
86
90
},
87
91
< / #if >
88
- span: 24 ,
89
- < #if fieldConfig .isRequired >
90
- rules: [{ required: true , message: ' 请输入${fieldConfig.comment}' }]
91
- < / #if >
92
92
},
93
93
< / #if >
94
94
< / #list>
Original file line number Diff line number Diff line change 19
19
<#if fieldConfig.formType == "SELECT" ><#-- 下拉框 -->
20
20
<a-select
21
21
v-model =" queryForm.${fieldConfig.fieldName}"
22
- :options =" ${fieldConfig.columnName}_enum "
22
+ :options =" ${fieldConfig.dictCode} "
23
23
placeholder =" 请选择${fieldConfig.comment}"
24
24
allow-clear
25
25
style =" width : 150px "
You can’t perform that action at this time.
0 commit comments