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

表格数据为空的情况下,分页工具栏无法获取到记录数,显示为“共条数据”。Update toolbar.js #208

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

soapyu
Copy link

@soapyu soapyu commented Jun 26, 2015

表格在没有数据的情况下,如果开启分页,会显示“共条记录”,看了源码,自定义属性totalCount的值为0,和设置默认值重复,无法通过__attrVals枚举,导致输出的时候获取不到记录数,使用_set可解决。

没有数据的情况下,totalCount的值为0,和默认值重复,无法通过__attrVals枚举,导致表格记录统计会显示“共条记录”,使用_set可解决。
@soapyu soapyu changed the title Update toolbar.js 表格数据为空的情况下,分页工具栏无法获取到记录数,显示为“共条数据”。Update toolbar.js Jun 26, 2015
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

Successfully merging this pull request may close these issues.

None yet

1 participant