-
## Background
使用了 hooks 写代码,配置了 eslint-plugin-react-hooks 但没起作用,编译器控制台没有警告信息
-
### 🧐 问题描述
自动化部署 build的时候打包不成功
`
+ node -v
v12.18.0
+ npm -v
6.14.4
+ npm config get registry
https://registry.npm.taobao.org/
+ yarn config get registry
https://registry.npm.taobao.org
+…
-
## 使用useRequest请求接口,抛出了异常,但是捕获不到
## 最小可复现仓库
devScripts.js:5836 BizError: 产品Id不能为空
at _callee$ (http://localhost:8002/umi.js:160735:23)
at tryCatch (http://localhost:8002/umi.js:5…
-
### 🐛 bug 描述
在macos下运行npm start,webpack打包进行到99%时报错,内容为:
ERROR Failed to compile with 1 errors …
-
### 🥰 需求描述
希望能提供对qiankun的支持
> 我下载2020-05-13号最新的https://codeload.github.com/ant-design/ant-design-pro/zip/master并bopy成两个项目额adpQKMaster和adpQKSlave
#### 在adpQKMaster目录执行如下操作
- 1. 执行命名 yarn
- 2…
-
### 🐛 bug 描述
1.Layout顶部菜单栏不会自动隐藏为... 省略号了 与右边操作栏重叠
2.pro-table 小屏访问(移动端)搜索框显示不正常,原先只默认展示1个搜索项,现在会默认把全部的搜索项显示出来,并且展示错位.
### 📷 复现步骤
```
{
"name": "ant-design-pro",
"version": "1.0.0",…
-
https://hooks.umijs.org/zh-CN/hooks/deprecated/use-antd-table
![image](https://user-images.githubusercontent.com/5251387/89974747-7c7d1a00-dc96-11ea-9a2f-ba7cdd0dd892.png)
-
## What happens?
UMI3,国际化使用后useIntl直接报错;
Error: Invalid hook call. Hooks can only be called inside of the body of a function component.
UMI2的时候使用formatMessage正常;
升级了react的版本也不行;
"react": "16.13.…
-
## What happens?
通过yarn安装依赖包,报了一堆警告:xxx has unmet peer dependency xxx
## 复现步骤,错误日志以及相关配置
复现步骤
1: yarn create umi 选app --> ts --> antd , dva, code splitting, dll
2: yarn
错误信息:
```
…
-
React 16.3 will introduce a StrictMode which will fires deprecation warnings for `componentWillMount`, `componentWillUpdate`, `componentWillReceiveProps`. We should migrate antd's components to the ne…