修改form跳转出现的bug
This commit is contained in:
parent
48bb3b6452
commit
9b26947849
|
@ -107,10 +107,10 @@ export default {
|
|||
const res = await find{{.StructName}}({ ID: this.$route.query.id })
|
||||
if(res.code == 0){
|
||||
this.formData = res.data.re{{.Abbreviation}}
|
||||
this.type == "update"
|
||||
this.type = "update"
|
||||
}
|
||||
}else{
|
||||
this.type == "create"
|
||||
this.type = "create"
|
||||
}
|
||||
{{ range .Fields -}}
|
||||
{{- if .DictType }}
|
||||
|
|
Loading…
Reference in New Issue