feat: 解决字典页面刷新404的问题
This commit is contained in:
parent
951a390b23
commit
ebfd3ce4ec
|
@ -75,19 +75,5 @@ export const constantRouterMap = [
|
||||||
{
|
{
|
||||||
path: '/404',
|
path: '/404',
|
||||||
component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
|
component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/dictionary',
|
|
||||||
component: BasicLayout,
|
|
||||||
redirect: '/sys/dictionary',
|
|
||||||
meta: { title: '词典分类' },
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: 'dictionaryItem/list/:id',
|
|
||||||
name: 'DictionaryItemList',
|
|
||||||
component: () => import('@/views/sys/dictionaryItem/DictionaryItemList'),
|
|
||||||
meta: { title: '词典项', keepAlive: true, permission: ['dictionaryItem'] }
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -11,13 +11,13 @@
|
||||||
</div>
|
</div>
|
||||||
<router-view />
|
<router-view />
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<div class="links">
|
<!-- <div class="links">
|
||||||
<a href="_self">帮助</a>
|
<a href="_self">帮助</a>
|
||||||
<a href="_self">隐私</a>
|
<a href="_self">隐私</a>
|
||||||
<a href="_self">条款</a>
|
<a href="_self">条款</a>
|
||||||
</div>
|
</div> -->
|
||||||
<div class="copyright">
|
<div class="copyright">
|
||||||
Copyright © 2021 XinMei
|
Copyright © 2022 XinMei
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue