提交 cc65d051 编写于 作者: Mr.奇淼('s avatar Mr.奇淼(

tag添加form 前端icon不存在的属性增加

上级 31bade5a
...@@ -7,5 +7,5 @@ import ( ...@@ -7,5 +7,5 @@ import (
type {{.StructName}} struct { type {{.StructName}} struct {
gorm.Model {{range .Fields}} gorm.Model {{range .Fields}}
{{.FieldName}} {{.FieldType}} `json:"{{.FieldJson}}"{{if .ColumnName}} gorm:"column:{{.ColumnName}}"{{end}}`{{ end }} {{.FieldName}} {{.FieldType}} `json:"{{.FieldJson}}" form:"{{.FieldJson}}" {{if .ColumnName}} gorm:"column:{{.ColumnName}}"{{end}}`{{ end }}
} }
\ No newline at end of file
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
<div> <div>
<el-form <el-form
:inline="true" :inline="true"
:model="form"
:rules="rules"
label-width="85px" label-width="85px"
ref="menuForm" ref="menuForm"
label-position="top" label-position="top"
......
...@@ -60,7 +60,6 @@ ...@@ -60,7 +60,6 @@
路由path 路由path
<el-checkbox style="float:right;margin-left:20px;" v-model="checkFlag">添加参数</el-checkbox> <el-checkbox style="float:right;margin-left:20px;" v-model="checkFlag">添加参数</el-checkbox>
</div> </div>
<el-input <el-input
:disabled="!checkFlag" :disabled="!checkFlag"
autocomplete="off" autocomplete="off"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册