mirror of
https://github.com/tiger1103/gfast.git
synced 2026-09-21 10:12:59 +00:00
代码生成前端页面错误修复
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
{{if eq $column.HtmlType "input"}}
|
||||
<el-form-item label="{{$comment}}" prop="{{$column.ColumnName}}">
|
||||
<el-input
|
||||
v-model="queryParams.{$column.ColumnName}}"
|
||||
v-model="queryParams.{{$column.ColumnName}}"
|
||||
placeholder="请输入{{$comment}}"
|
||||
clearable
|
||||
size="small"
|
||||
@@ -262,7 +262,7 @@ export default {
|
||||
{{range $index,$column := $columns}}
|
||||
{{$velocityCount := add $index 1}}
|
||||
{{if eq $column.IsQuery "1"}}
|
||||
{{$column.ColumnName}}: null
|
||||
{{$column.ColumnName}}: null,
|
||||
{{end}}
|
||||
{{end}}
|
||||
},
|
||||
@@ -362,7 +362,7 @@ export default {
|
||||
handleUpdate(row) {
|
||||
this.reset();
|
||||
const {{$pkColumnName}} = row.{{$pkColumnName}} || this.ids
|
||||
get{{.table.BusinessName}}({{$pkColumnName}}).then(response => {
|
||||
get{{.table.BusinessName|UcFirst}}({{$pkColumnName}}).then(response => {
|
||||
this.form = response.data;
|
||||
{{range $index,$column := $columns}}
|
||||
{{if eq $column.HtmlType "checkbox"}}
|
||||
|
||||
Reference in New Issue
Block a user