优化代码生成&新增默认值处理
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user