diff --git a/common/global/adm.go b/common/global/adm.go index 846dc6e..e06b63e 100644 --- a/common/global/adm.go +++ b/common/global/adm.go @@ -2,7 +2,7 @@ package global const ( // Version go-admin version info - Version = "2.0.2" + Version = "2.0.3" ) var ( diff --git a/template/v4/vue.go.template b/template/v4/vue.go.template index 3db9bfc..201c3b5 100644 --- a/template/v4/vue.go.template +++ b/template/v4/vue.go.template @@ -27,9 +27,9 @@ placeholder="{{$tableComment}}{{.ColumnComment}}" clearable size="small"> {{- end}} @@ -179,9 +179,9 @@ placeholder="请选择" {{if eq .IsEdit "false" -}} :disabled="isEdit" {{- end }}> {{- end -}} @@ -189,9 +189,9 @@ {{"{{"}} dict.dictLabel {{"}}"}} + :key="dict.value" + :label="dict.value" + >{{"{{"}} dict.label {{"}}"}} {{- else if eq "file" .HtmlType -}}