-
### Description
在文档里面没有体现到如何更改页面主题的相关说明
-
### 🐛 bug 描述
需求是用户登录,然后接口返回用户对应的路由表;
我是在umi3.2.x版本中用的,配置中开启了layout,然后在`src/app.tsx`的layout中配置`menuDataRender`,发现怎么处理都不行
### 📷 复现步骤
1、config中开启layout
```ts
......
routes,
layout: {
…
-
## What happens?
我本地dev开完之后,本地build打包没有问题。
推到服务器构建就出了问题。
初步判断。如果不dev一下,直接打包会报错。
如果不dev一下,src/.umi就会不存在,直接build就会出问题,会生成src/.umi和src/.umi-production
# 报错信息如下
```
umi proxy [/auth] ====> http:/…
-
## Background
在 umi@2.x (umi-plugin-dva)的版本上是通过 在 src 下的 plugins 目录默认可以扩展 dva 的,3.x (@umijs/plugin-dva)版本却取消了(**不知道取消是何考虑?**):
umi-plugin-dva 源码中的 getPluginContent
````
function getPluginConte…
-
### Expected Behavior
> it should work well
### Actual Behavior
> it occurs ,when update the package devDependencies to the latest version ,it work fine,several weeks ago.
i clear the .ca…
-
## What happens?
我尝试在封装的request.ts文件中使用国际化,如果使用
import { formatMessage } from 'umi';
会报如下警告:
devScripts.js:5035 Warning: Using this API will cause automatic refresh when switching languages, ple…
-
![image](https://user-images.githubusercontent.com/12526493/78961611-a2e24b80-7b24-11ea-9284-ed21eb06e132.png)
antd4.1.1 umi hooks 1.9.0
-
- umi-hooks 版本: 1.8.1
- 重现链接(官网 demo): https://hooks.umijs.org/zh-CN/hooks/deprecated/use-antd-table#%E6%8E%92%E5%BA%8F%E4%B8%8E%E7%AD%9B%E9%80%89
- 重现步骤: 先对 `phone` 这一列做三次排序,然后切换到第二页,发现无法成功切换,且页码传参…
-
直接使用demo中的react对应demo
1、找不到AMAP组件;
2、另外,项目中使用了**react-amap** 高德地图组件,会不会冲突,现在L7demo都完全走不下去
![image](https://user-images.githubusercontent.com/24349947/83726397-0ea0ea80-a676-11ea-92da-31ef1a8f1f…
-
### 🧐 问题描述
### umijs plugin-dva和plugin-model有什么区别,怎么定义符合plugin-model规范的model
4月底使用yarn create umi生成的项目中:
并没有安装plugin-dva, 但是安装了plugin-model, 没有生成model文件夹,
文档上说model文件夹里的model文件,可以自动加载(没试过);
…