Skip to content

Commit 717cb67

Browse files
author
蒋吉兆
committed
修改form跳转出现的bug
1 parent 431e0d6 commit 717cb67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/resource/template/web/form.vue.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ export default {
107107
const res = await find{{.StructName}}({ ID: this.$route.query.id })
108108
if(res.code == 0){
109109
this.formData = res.data.re{{.Abbreviation}}
110-
this.type == "update"
110+
this.type = "update"
111111
}
112112
}else{
113-
this.type == "create"
113+
this.type = "create"
114114
}
115115
{{ range .Fields -}}
116116
{{- if .DictType }}

0 commit comments

Comments
 (0)