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 "" -}}