fix: 字典类型代码生成

This commit is contained in:
xingyu 2022-12-20 12:44:06 +08:00
parent 17d9a4e4f2
commit 85e9a17569

View File

@ -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)