Commit 5d74ed32 authored by RuoYi's avatar RuoYi

表单类型为Integer/Long设置整形默认值

parent 6afaced3
...@@ -357,7 +357,7 @@ export default { ...@@ -357,7 +357,7 @@ export default {
this.form = { this.form = {
#foreach ($column in $columns) #foreach ($column in $columns)
#if($column.htmlType == "radio") #if($column.htmlType == "radio")
$column.javaField: "0"#if($velocityCount != $columns.size()),#end $column.javaField: #if($column.javaType == "Integer" || $column.javaType == "Long")0#else"0"#end#if($velocityCount != $columns.size()),#end
#elseif($column.htmlType == "checkbox") #elseif($column.htmlType == "checkbox")
$column.javaField: []#if($velocityCount != $columns.size()),#end $column.javaField: []#if($velocityCount != $columns.size()),#end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment