Skip to content
New issue

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

搜索表单生成器问题(附修改) #62

Open
cqlicheng opened this issue Feb 1, 2021 · 0 comments
Open

搜索表单生成器问题(附修改) #62

cqlicheng opened this issue Feb 1, 2021 · 0 comments

Comments

@cqlicheng
Copy link

在搜索表单生成器中,当设置”fieldAlias“后,且搜索类型为"range”时间范围时,获取不到关键字。
问题代码:
/zhongshaofa/easyadmin/blob/v2/public/static/plugs/easy-admin/easy-admin.js#L369
/zhongshaofa/easyadmin/blob/v2/public/static/plugs/easy-admin/easy-admin.js#L372
ncV.field 替换为 ncV.fieldAlias

另外在搜索表单生成器中,若field字段存在".“符号,jquery的ID选择器将不能正常选择
问题代码:
/zhongshaofa/easyadmin/blob/v2/public/static/plugs/easy-admin/easy-admin.js#L720
var op = $('#c-' + key).attr('data-search-op'); 替换为 var op = $("[id='c-"+key+"']").attr('data-search-op');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant