Ant-design-pro: 🐛[BUG] ProTable报 Cannot read property 'reduce' of undefined 完全按官方操作(npm create umi)没任何操作

Created on 2 Apr 2020  ·  6Comments  ·  Source: ant-design/ant-design-pro

🐛 bug 描述

npm create umi
npm i
npm start
点击带有ProTable的页面报以下错误
TypeError: Cannot read property 'reduce' of undefined
tableAlertRender
./src/pages/ListTableList/index.jsx:207

📷 复现步骤


npm create umi
npm i
npm start
点击带有ProTable的页面报以下错误
TypeError: Cannot read property 'reduce' of undefined
tableAlertRender
./src/pages/ListTableList/index.jsx:207

🏞 期望结果

期望正常展现表格

💻 复现代码

npm create umi
npm i
npm start
无任何改动

© 版本信息

  • Ant Design Pro 版本: [e.g. 4.0.0] 完全按官方文档操作 4.0
  • umi 版本 完全按官方文档操作
  • 浏览器环境 完全按官方文档操作
  • 开发环境 [e.g. mac OS] win 1909 x64

🚑 其他信息

image

image

🛑 bug

Most helpful comment

https://github.com/ant-design/ant-design-pro/pull/6284

这个呢?
是 protable 的不兼容改动

All 6 comments

看来是umi的bug。等待修复一下。

umijs/umi#4368
这个错看起来不像是umi的bug, 像是antd->ProTable的bug?

https://github.com/ant-design/ant-design-pro/pull/6284

这个呢?
是 protable 的不兼容改动

6284

这个呢?
是 protable 的不兼容改动

嗯,非常感谢;
这个bug啥时候可以修复,在线等,项目急用 :)

6284

这个呢?
是 protable 的不兼容改动

看到你的提交改动了,非常感谢!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cheung1111 picture cheung1111  ·  3Comments

gaoqiang19514 picture gaoqiang19514  ·  3Comments

952425340 picture 952425340  ·  3Comments

skyFi picture skyFi  ·  3Comments

RichardStark picture RichardStark  ·  3Comments