Skip to content

Commit 518bdba

Browse files
author
QM303176530
committed
tag添加form 前端icon不存在的属性增加
1 parent 5cb3d7b commit 518bdba

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

server/resource/template/te/model.go.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ import (
77

88
type {{.StructName}} struct {
99
gorm.Model {{range .Fields}}
10-
{{.FieldName}} {{.FieldType}} `json:"{{.FieldJson}}"{{if .ColumnName}} gorm:"column:{{.ColumnName}}"{{end}}`{{ end }}
10+
{{.FieldName}} {{.FieldType}} `json:"{{.FieldJson}}" form:"{{.FieldJson}}" {{if .ColumnName}} gorm:"column:{{.ColumnName}}"{{end}}`{{ end }}
1111
}

web/src/view/superAdmin/menu/icon.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
<div>
33
<el-form
44
:inline="true"
5-
:model="form"
6-
:rules="rules"
75
label-width="85px"
86
ref="menuForm"
97
label-position="top"

web/src/view/superAdmin/menu/menu.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
路由path
6161
<el-checkbox style="float:right;margin-left:20px;" v-model="checkFlag">添加参数</el-checkbox>
6262
</div>
63-
6463
<el-input
6564
:disabled="!checkFlag"
6665
autocomplete="off"

0 commit comments

Comments
 (0)