update codegen/vue3/views/data.ts.vm

字典值类型生成修正

Signed-off-by: supine-win <supine.win@gmail.com>
This commit is contained in:
supine-win 2022-12-20 04:44:25 +00:00 committed by Gitee
parent de70cc0cba
commit 736a3505a6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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)