Commit 85e9a1756950b97b109eb63f19efd6e16e8534c8
1 parent
17d9a4e4
fix: 字典类型代码生成
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) | ... | ... |