生成代码后,下拉框类型的搜索框显示为普通的文本框,并且只能输入字典值(int)进行搜索,如果输入标签值(string),会直接报异常,如下所示: {"message":"org.springframework.validation.BeanPropertyBindingResult: 1 errors\nField error in object 'sysUsersDetailsQueryCriteria' on field 'nation': rejected value [汉族]; codes [typeMismatch.sysUsersDetailsQueryCriteria.nation,typeMismatch.nation,typeMismatch.java.lang.Integer,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [sysUsersDetailsQueryCriteria.nation,nation]; arguments []; default message [nation]]; default message [Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Integer' for property 'nation'; nested exception is java.lang.NumberFormatException: For input string: \"汉族\"]","status":400,"timestamp":"2021-05-15 18:51:15"}
版本: v2.6 环境:本地 复现步骤: