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

menu中没有注册的页面Link访问报404

Open yufeikang opened this issue 9 years ago • 3 comments

例如 menu中有个页面 order搜索,搜索到的结果orderList。点击某一项显示orderDetail。因为orderDetail没有注册在menu里面,但是在router里注册了。无法访问,报404

yufeikang avatar Oct 28 '17 08:10 yufeikang

是,,,我也遇到这个问题了,按照目前的逻辑,是不是所有的界面都需要注册到menu里才行~~~

koupeng avatar Oct 31 '17 05:10 koupeng

faced the same issue, if there is new URL path, it needs to be added to the router as well as menu

malinda1986 avatar Oct 31 '17 11:10 malinda1986

@koupeng @Yufeikang 在routes/app.js里有判断的

namoweixiao avatar Nov 07 '17 08:11 namoweixiao