You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
Steps to reproduce
Open the link and add the pagination property to the Table component. The property value is {total: null}. Pagination cannot be used in 4.X version. After changing the version of antd to 3.X, the pagination component can be used normally —— 打开链接,在Table组件中添加pagination属性,属性值为{total:null},在4.X版本pagination无法使用。将antd的版本改为3.X后,pagination组件可以正常使用
What is expected?
Consistent with version 3.X —— 和3.X版本行为保持一致
What is actually happening?
pagination component is not working —— pagination组件无法使用
Environment
Info
antd
4.0.0-beta.1
React
16.12.0
System
macOS Catalina 10.15.2
Browser
Chrome 81.0.4011.0 canary (64)
Is this an intentional change? Make the null value of the total attribute behave correctly? However, I personally think this is a break change. In the original 3.X version, the boundary treatment of null values should be retained —— 这是有意的改动吗?使得total属性的null值得到正确的表现?但是个人觉得这是个break change,在原有的3.X版本中对null值进行的边界处理我觉得应该保留
The text was updated successfully, but these errors were encountered:
Reproduction link
Steps to reproduce
Open the link and add the pagination property to the Table component. The property value is {total: null}. Pagination cannot be used in 4.X version. After changing the version of antd to 3.X, the pagination component can be used normally —— 打开链接,在Table组件中添加pagination属性,属性值为{total:null},在4.X版本pagination无法使用。将antd的版本改为3.X后,pagination组件可以正常使用
What is expected?
Consistent with version 3.X —— 和3.X版本行为保持一致
What is actually happening?
pagination component is not working —— pagination组件无法使用
Is this an intentional change? Make the null value of the total attribute behave correctly? However, I personally think this is a break change. In the original 3.X version, the boundary treatment of null values should be retained —— 这是有意的改动吗?使得total属性的null值得到正确的表现?但是个人觉得这是个break change,在原有的3.X版本中对null值进行的边界处理我觉得应该保留
The text was updated successfully, but these errors were encountered: