From 09cc51e5ded8cb86e64703157a88ee689259a005 Mon Sep 17 00:00:00 2001 From: CunYu Date: Sat, 15 May 2021 09:03:01 +0800 Subject: [PATCH] =?UTF-8?q?fix=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8Dvue?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E7=9A=84=E6=9D=A1=E4=BB=B6=E5=88=A4=E6=96=AD?= =?UTF-8?q?=20#423?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/v4/vue.go.template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/template/v4/vue.go.template b/template/v4/vue.go.template index 0e7f050..a47785f 100644 --- a/template/v4/vue.go.template +++ b/template/v4/vue.go.template @@ -6,7 +6,7 @@ {{range .Columns}} {{- $x := .IsQuery -}} - {{- if ($x) -}} + {{- if (eq $x "1") -}} {{- if ne .FkTableName "" -}}