Commit 736a3505a63669c43e5d669cfd52b0056dd76e51
Committed by
Gitee
1 parent
de70cc0c
update codegen/vue3/views/data.ts.vm
字典值类型生成修正 Signed-off-by: supine-win <supine.win@gmail.com>
Showing
1 changed file
with
2 additions
and
2 deletions
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/data.ts.vm
| ... | ... | @@ -34,9 +34,9 @@ const crudSchemas = reactive<VxeCrudSchema>({ |
| 34 | 34 | #if ("" != $dictType)## 有数据字典 |
| 35 | 35 | dictType: DICT_TYPE.$dictType.toUpperCase(), |
| 36 | 36 | #if (${column.javaType.toLowerCase()} == "long" || ${column.javaType.toLowerCase()} == "integer") |
| 37 | - dictData: 'number', | |
| 37 | + dictClass: 'number', | |
| 38 | 38 | #else |
| 39 | - dictData: 'string', | |
| 39 | + dictClass: 'string', | |
| 40 | 40 | #end |
| 41 | 41 | #end |
| 42 | 42 | #if (!$column.createOperation && !$column.updateOperation) | ... | ... |