From b8480c2bd8efd37a71938d76ee7df6a2f63f6907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Wed, 12 Jul 2023 22:17:08 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90dic?= =?UTF-8?q?t-tag=E7=BB=84=E4=BB=B6=E6=96=B0=E5=A2=9E=E5=88=86=E5=89=B2?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wwwroot/CodeGenTemplate/v3/Vue.txt | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/v3/Vue.txt b/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/v3/Vue.txt index 23fee3d..d5fed76 100644 --- a/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/v3/Vue.txt +++ b/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/v3/Vue.txt @@ -165,11 +165,7 @@ $elseif(column.HtmlType == "imageUpload") $elseif(column.HtmlType == "checkbox" || column.HtmlType.Contains("select") || column.HtmlType == "radio") $elseif(column.HtmlType == "datetime") @@ -219,11 +215,7 @@ $if(column.IsList == true) $if(column.HtmlType == "checkbox" || column.HtmlType.Contains("select") || column.HtmlType == "radio") $else @@ -291,7 +283,9 @@ $elseif(column.HtmlType == "radio" || column.HtmlType == "selectRadio") - {{item.dictLabel}} + + {{item.dictLabel}} + @@ -315,7 +309,7 @@ $elseif(column.HtmlType == "select" || column.HtmlType == "selectMulti") v-for="item in $if(column.DictType != "")options.${column.DictType}${else}options.${column.CsharpFieldFl}Options$end" :key="item.dictValue" :label="item.dictLabel" - :value="item.dictValue"> + :value="${value}">