fix: 字典类型代码生成

pull/2/head
xingyu 2022-12-20 12:44:06 +08:00
parent 17d9a4e4f2
commit 85e9a17569
1 changed files with 2 additions and 2 deletions

View File

@ -34,9 +34,9 @@ const crudSchemas = reactive<VxeCrudSchema>({
#if ("" != $dictType)## 有数据字典
dictType: DICT_TYPE.$dictType.toUpperCase(),
#if (${column.javaType.toLowerCase()} == "long" || ${column.javaType.toLowerCase()} == "integer")
dictData: 'number',
dictClass: 'number',
#else
dictData: 'string',
dictClass: 'string',
#end
#end
#if (!$column.createOperation && !$column.updateOperation)