1 parent
fd0fa49f1c
commit
e42191c6af
1 file changed
+9
-9
@@ -27,9 +27,9 @@
|
|||||||
placeholder="{{$tableComment}}{{.ColumnComment}}" clearable size="small">
|
placeholder="{{$tableComment}}{{.ColumnComment}}" clearable size="small">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="dict in {{.JsonField}}Options"
|
v-for="dict in {{.JsonField}}Options"
|
||||||
:key="dict.dictValue"
|
:key="dict.value"
|
||||||
:label="dict.dictLabel"
|
:label="dict.label"
|
||||||
:value="dict.dictValue"
|
:value="dict.value"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
{{- end}}
|
{{- end}}
|
||||||
@@ -179,9 +179,9 @@
|
|||||||
placeholder="请选择" {{if eq .IsEdit "false" -}} :disabled="isEdit" {{- end }}>
|
placeholder="请选择" {{if eq .IsEdit "false" -}} :disabled="isEdit" {{- end }}>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="dict in {{.JsonField}}Options"
|
v-for="dict in {{.JsonField}}Options"
|
||||||
:key="dict.dictValue"
|
:key="dict.value"
|
||||||
:label="dict.dictLabel"
|
:label="dict.label"
|
||||||
:value="dict.dictValue"
|
:value="dict.value"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
@@ -189,9 +189,9 @@
|
|||||||
<el-radio-group v-model="form.{{.JsonField}}">
|
<el-radio-group v-model="form.{{.JsonField}}">
|
||||||
<el-radio
|
<el-radio
|
||||||
v-for="dict in {{.JsonField}}Options"
|
v-for="dict in {{.JsonField}}Options"
|
||||||
:key="dict.dictValue"
|
:key="dict.value"
|
||||||
:label="dict.dictValue"
|
:label="dict.value"
|
||||||
>{{"{{"}} dict.dictLabel {{"}}"}}</el-radio>
|
>{{"{{"}} dict.label {{"}}"}}</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
{{- else if eq "file" .HtmlType -}}
|
{{- else if eq "file" .HtmlType -}}
|
||||||
<el-input
|
<el-input
|
||||||
|
|||||||
Reference in new issue
Block a user