We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1、显示异常 使用enum类型时,可以通过设置kwargs["quickEdit"] = True进行填写框下拉,功能正常
但是字段下拉框用的是mapping类型的kwargs["filterable"],会超出文本框。后改成无类型的kwargs["filterable"],还是超出文本框,导致显示异常。
2、筛选异常 enum类型还会导致搜索异常,筛选无法生效
enum类型我是在数据模型中设置的,如:
class SystemType(Enum): Option1 = "xx系统" Option2 = "xx系统" Option3 = "xx系统"
搜索异常怀疑是name和lable的中英文导致的。全使用中文时,带括号的话会变量异常;全使用英文,就无法看到中文了。如果再用映射去处理,又太冗杂了。
求教 @amisadmin
The text was updated successfully, but these errors were encountered:
@zeroChen00 Please write your text in English so that other users can assist you more easily.
Sorry, something went wrong.
No branches or pull requests
1、显示异常
使用enum类型时,可以通过设置kwargs["quickEdit"] = True进行填写框下拉,功能正常
但是字段下拉框用的是mapping类型的kwargs["filterable"],会超出文本框。后改成无类型的kwargs["filterable"],还是超出文本框,导致显示异常。
2、筛选异常
enum类型还会导致搜索异常,筛选无法生效
enum类型我是在数据模型中设置的,如:
搜索异常怀疑是name和lable的中英文导致的。全使用中文时,带括号的话会变量异常;全使用英文,就无法看到中文了。如果再用映射去处理,又太冗杂了。
求教 @amisadmin
The text was updated successfully, but these errors were encountered: