dva-admin icon indicating copy to clipboard operation
dva-admin copied to clipboard

dva admin antd dashboard

Results 26 dva-admin issues
Sort by recently updated
recently updated
newest added

什么时候可以把路由基于react-router4 更改一版吗?

enhancement

我咋bread.js中直接引用menu.js 会在const getPathSet = function () 函数中报 forEach没定义 但是通过index来间接引用 为什么就不报错呢?

请教下,app的state的curPowers,是怎么传到所有页面中去的呢?我看其他页面的model state里面没有存curPowers,但是却能取到app的state的curPowers, 是在哪弄的呢?

是在roadhogrc.js修改还是哪里

可以把面包屑改成Tab页签么

enhancement

![71xcnr woxxu 9 46kdjw0](https://user-images.githubusercontent.com/29349020/33643529-a59002de-da7a-11e7-9a50-ceb53c563db0.png) 以teacher这个角色登陆的时候,menu这边显示部分,这部分代码在哪,可否给我指向下,没找到,麻烦了。

![c8nl 8x0u9 ylw ph4s evm](https://user-images.githubusercontent.com/29349020/33410409-1931426c-d5bb-11e7-8b5c-c52eb1c36e66.png)

enhancement

function getAllPathPowers (menuArray, curPowers) { return menuArray.reduce((dir, item) => { dir[`/${item.key}`] = curPowers[item.id] if (item.children) { item.children.reduce((cdir, cur) => { dir[`/${cdir}/${cur.key}`] = curPowers[cur.id] return cdir }, item.key) getAllPathPowers(item.children, curPowers) }...