From 480dee6e37ed4e0f25fd2f32c469d466b90647fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=92=8B=E5=90=89=E5=85=86?= <303176530@qq.com> Date: Sun, 7 Mar 2021 13:19:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9form=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/resource/template/web/form.vue.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/resource/template/web/form.vue.tpl b/server/resource/template/web/form.vue.tpl index 811cd8c0..44ace3cb 100644 --- a/server/resource/template/web/form.vue.tpl +++ b/server/resource/template/web/form.vue.tpl @@ -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 }}