mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 09:11:52 +08:00
fix: 字典类型代码生成
This commit is contained in:
parent
17d9a4e4f2
commit
85e9a17569
@ -34,9 +34,9 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
|||||||
#if ("" != $dictType)## 有数据字典
|
#if ("" != $dictType)## 有数据字典
|
||||||
dictType: DICT_TYPE.$dictType.toUpperCase(),
|
dictType: DICT_TYPE.$dictType.toUpperCase(),
|
||||||
#if (${column.javaType.toLowerCase()} == "long" || ${column.javaType.toLowerCase()} == "integer")
|
#if (${column.javaType.toLowerCase()} == "long" || ${column.javaType.toLowerCase()} == "integer")
|
||||||
dictData: 'number',
|
dictClass: 'number',
|
||||||
#else
|
#else
|
||||||
dictData: 'string',
|
dictClass: 'string',
|
||||||
#end
|
#end
|
||||||
#end
|
#end
|
||||||
#if (!$column.createOperation && !$column.updateOperation)
|
#if (!$column.createOperation && !$column.updateOperation)
|
||||||
|
Loading…
Reference in New Issue
Block a user