-
# 复现步骤:
```
$ git clone git@github.com:umijs/hooks.git
$ cd hooks
$ npm run init
$ npm start
```
# 报错信息
```
→ npm run start
> @umijs/hooks@ start /Users/michaelzheng/github/hooks
> …
-
之前在 antd 4.0.3 一切正常,升级 4.1.0 后 ts 报错,错误信息如下
看了下 antd 的 changelog,好像 table pagination 做了一些修改,是不是导致和 umi hooks 这边不一致了
umi hooks 版本 1.8.0
-
## What happens?
挺急的,采用了umi3.0和qiankun。没想到这么多麻烦。还有就是去掉core-js,就报没有core-js依赖的错。
我本地dev开完之后,本地build打包没有问题。
推到服务器构建就出了问题。
初步判断。如果不dev一下,直接打包会报错。
如果不dev一下,src/.umi就会不存在,直接build就会出问题,会生成src/.umi和src/.…
-
api提供dva配套的hooks
-
data不能直接获取到response.body吗?
这个对于老项目升级实在太不友好了
-
1:useModel是不是不支持像之前dva那样可以在页面建个model.js就可以用?
2:loading是不是都要自己处理,感觉比较麻烦,有没有好的方案?
-
### 🐛 bug 描述
使用 create-umi 选择 ant design pro ,项目启动,选择dashboard分析页菜单,报如下错误:
×
TypeError: Cannot read property 'RangePicker' of undefined
Module../src/pages/dashboard/analysis/components/Sale…
-
### 🐛 bug 描述
无法访问`localhost:8000`,加载一段时间后报错 `Error: Cannot find module './locale'`
### 📷 复现步骤
1. 新建项目,Javascript + antd4
2. `yarn`
3. `yarn start`
4. 访问 `localhost:8000`
### 🏞 期望结果
正常运…
-
### 🐛 bug 描述
我是用的V5的Hooks写的页面,也将contextHolder放到了页面中,直接使用的,无法达到正常效果.并且最开始点击新增按钮只是闪一下,多次点击才出现到页面下边.
![image](https://user-images.githubusercontent.com/13188169/83325622-2f48f900-a2a0-11ea-8a14-a9302…
-
### 🧐 问题描述
Button 添加`style={{ marginBottom: 20, float: "right" }}` , 其中添加`float: "right"`后无法点击?
### 💻 示例代码
```code
新建模板
```
![image](https://user-images.githubuserc…