正在显示
2 个修改的文件
包含
4 行增加
和
4 行删除
| @@ -146,7 +146,7 @@ | @@ -146,7 +146,7 @@ | ||
| 146 | v-for="dict in ${field}Options" | 146 | v-for="dict in ${field}Options" |
| 147 | :key="dict.dictValue" | 147 | :key="dict.dictValue" |
| 148 | :label="dict.dictLabel" | 148 | :label="dict.dictLabel" |
| 149 | - #if($column.javaType == "Integer"):value="parseInt(dict.dictValue)"#else:value="dict.dictValue"#end | 149 | + #if($column.javaType == "Integer" || $column.javaType == "Long"):value="parseInt(dict.dictValue)"#else:value="dict.dictValue"#end |
| 150 | 150 | ||
| 151 | ></el-option> | 151 | ></el-option> |
| 152 | </el-select> | 152 | </el-select> |
| @@ -163,7 +163,7 @@ | @@ -163,7 +163,7 @@ | ||
| 163 | <el-radio | 163 | <el-radio |
| 164 | v-for="dict in ${field}Options" | 164 | v-for="dict in ${field}Options" |
| 165 | :key="dict.dictValue" | 165 | :key="dict.dictValue" |
| 166 | - #if($column.javaType == "Integer"):label="parseInt(dict.dictValue)"#else:label="dict.dictValue"#end | 166 | + #if($column.javaType == "Integer" || $column.javaType == "Long"):label="parseInt(dict.dictValue)"#else:label="dict.dictValue"#end |
| 167 | 167 | ||
| 168 | >{{dict.dictLabel}}</el-radio> | 168 | >{{dict.dictLabel}}</el-radio> |
| 169 | </el-radio-group> | 169 | </el-radio-group> |
| @@ -174,7 +174,7 @@ | @@ -174,7 +174,7 @@ | ||
| 174 | v-for="dict in ${field}Options" | 174 | v-for="dict in ${field}Options" |
| 175 | :key="dict.dictValue" | 175 | :key="dict.dictValue" |
| 176 | :label="dict.dictLabel" | 176 | :label="dict.dictLabel" |
| 177 | - #if($column.javaType == "Integer"):value="parseInt(dict.dictValue)"#else:value="dict.dictValue"#end | 177 | + #if($column.javaType == "Integer" || $column.javaType == "Long"):value="parseInt(dict.dictValue)"#else:value="dict.dictValue"#end |
| 178 | 178 | ||
| 179 | ></el-option> | 179 | ></el-option> |
| 180 | </el-select> | 180 | </el-select> |
| @@ -191,7 +191,7 @@ | @@ -191,7 +191,7 @@ | ||
| 191 | <el-radio | 191 | <el-radio |
| 192 | v-for="dict in ${field}Options" | 192 | v-for="dict in ${field}Options" |
| 193 | :key="dict.dictValue" | 193 | :key="dict.dictValue" |
| 194 | - #if($column.javaType == "Integer"):label="parseInt(dict.dictValue)"#else:label="dict.dictValue"#end | 194 | + #if($column.javaType == "Integer" || $column.javaType == "Long"):label="parseInt(dict.dictValue)"#else:label="dict.dictValue"#end |
| 195 | 195 | ||
| 196 | >{{dict.dictLabel}}</el-radio> | 196 | >{{dict.dictLabel}}</el-radio> |
| 197 | </el-radio-group> | 197 | </el-radio-group> |
-
请 注册 或 登录 后发表评论