-
### 🐛 bug 描述
点击一个菜单后,颜色会高亮,但刷新页面后,不能保持刚才选中的菜单高亮
### 📷 复现步骤
1、启用远程加载菜单数据
2、任意点击一个菜单
3、刷新页面
### 🏞 期望结果
刷新页面后,依然保持刚才选中的菜单高亮
### 💻 复现代码
1、安装官方指引创建项目
```js
yarn create umi
```
选择 a…
-
### Environment
How do you use Sentry?
on-premise
### Steps to Reproduce
when install sentry-cli to the latest version, in cannot install properly:
`> @sentry/cli@1.69.0 install /usr/src…
daidi updated
2 years ago
-
![image](https://user-images.githubusercontent.com/19889708/114840446-674e2180-9e09-11eb-81ad-77fc7be3e953.png)
{
"@antv/g6": "^4.2.6",
"@tinymce/tinymce-react": "^3.12.2",
"@umijs/p…
-
配置如下:
import { defineConfig } from 'umi';
export default defineConfig({
nodeModulesTransform: {
type: 'none',
},
routes: [
{ path: '/', component: '@/pages/index' },
],
fa…
-
### Versions
- dumi:^1.1.9
- node:v12.14.1
- npm:7.6.0
- yarn:1.22.5
- OS:mac OS 10.15.7 (19H524)
- Browser:Chrome 89.0.4389.72
### Steps to reproduce
package.json
```json
{
"scri…
-
### 🐛 bug 描述
使用了“菜单的高级用法”的第一种后台取菜单数据方法
params 更新了,但request方法未调用
### 📷 复现步骤
```
export const layout: RunTimeLayoutConfig = ({ initialState }) => {
return {
menu: {
lo…
-
在没有使用react-activation时,并不会有如下错误
![image](https://user-images.githubusercontent.com/51266600/108848643-31b46580-761c-11eb-92ab-49565818c2f3.png)
![image](https://user-images.githubusercontent.com/5…
-
## What happens?
现在手上有个小需求要做。不需要太复杂的东西。所以预想的是 umi + react hooks 即可,不需要 redux 或者 dva 出场。这种情况下,写 hooks 时,想放在 pages 目录下,就会生成路由。
想通过配置排除。但是在官网搜索了一圈,发现并没有对应配置。只能有 example 库里有个例子,不过例子类似如下
```javasc…
-
目前umihook版本是1.6.5?ahook是2.X?所以现在ahook才是新版本吗
-
## What happens?
项目中用CSS Modules 识别不了*.less文件
![image](https://user-images.githubusercontent.com/77134659/108449922-42bd4980-729f-11eb-9af3-839ac7826c58.png)
- 项目目录结构:
![image](https:/…