优化代码生成&新增默认值处理

This commit is contained in:
不做码农
2023-02-22 13:47:24 +08:00
parent a51c85fcad
commit c7582e62ed
15 changed files with 128 additions and 75 deletions
@@ -218,11 +218,10 @@ $end
reset() {
this.form = {
$foreach(item in genTable.Columns)
$if((item.IsEdit || item.IsInsert))
$item.CsharpFieldFl: undefined,
$end
$if((item.HtmlType == "checkbox"))
${item.CsharpFieldFl}Checked: [],
$else
$item.CsharpFieldFl: undefined,
$end
$end
};