uni-app icon indicating copy to clipboard operation
uni-app copied to clipboard

schema2code代码生成的input表单有点异常

Open fhaskla opened this issue 5 months ago • 0 comments
trafficstars

云服务商

阿里云

Bug 描述

{ "bsonType": "object", "required": [], "permission": { "read": true, "create": true, "update": true, "delete": true }, "properties": { "_id": { "description": "ID,系统自动生成" }, "name": { "title": "name", "bsonType": "string" }, "age": { "title": "age", "bsonType": "int" } } }

Image

Image

复现步骤

设置数据库字段类型为int,然后使用schema2code代码生成系统,输入123,再使用拼音输入a

预期结果

按道理input框设置为数字类型,不应该使用了拼音就会清空表单,应该保留合法的数字,清空后续的异常输入

实际结果

No response

fhaskla avatar Jun 10 '25 03:06 fhaskla