feat: add about router
parent
0bcf07887e
commit
d54969ae50
|
@ -7,7 +7,7 @@
|
|||
[github](https://github.com/xingyuv/vue-vben-admin)
|
||||
|
||||
## 预览地址
|
||||
[预览地址](http://vben.x-surge.com)
|
||||
[预览地址](http://vben.xingyuv.com)
|
||||
|
||||
|
||||
## 开发文档
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
export const GITHUB_URL = 'https://gitee.com/xingyuv/vue-vben-admin'
|
||||
|
||||
// vue-vben-admin-next-doc
|
||||
export const DOC_URL = 'http://vben.x-surge.com/'
|
||||
export const DOC_URL = 'http://vben.xingyuv.com/'
|
||||
|
||||
// site url
|
||||
export const SITE_URL = 'http://vben.x-surge.com/'
|
||||
export const SITE_URL = 'http://vben.xingyuv.com/'
|
||||
|
|
|
@ -7,6 +7,7 @@ import { store } from '@/store'
|
|||
import { useUserStore } from './user'
|
||||
import { useAppStoreWithOut } from './app'
|
||||
import { asyncRoutes } from '@/router/routes'
|
||||
import about from '@/router/routes/modules/about'
|
||||
import dashboard from '@/router/routes/modules/dashboard'
|
||||
import { PAGE_NOT_FOUND_ROUTE } from '@/router/routes/basic'
|
||||
import { transformRouteToMenu } from '@/router/helper/menuHelper'
|
||||
|
@ -226,7 +227,7 @@ export const usePermissionStore = defineStore('app-permission', {
|
|||
|
||||
// Background routing to menu structure
|
||||
// 后台路由到菜单结构
|
||||
const backMenuList = transformRouteToMenu([dashboard, ...routeList])
|
||||
const backMenuList = transformRouteToMenu([dashboard, ...routeList, about])
|
||||
this.setBackMenuList(backMenuList)
|
||||
|
||||
// remove meta.ignoreRoute item
|
||||
|
@ -234,7 +235,7 @@ export const usePermissionStore = defineStore('app-permission', {
|
|||
routeList = filter(routeList, routeRemoveIgnoreFilter)
|
||||
routeList = routeList.filter(routeRemoveIgnoreFilter)
|
||||
routeList = flatMultiLevelRoutes(routeList)
|
||||
routes = [PAGE_NOT_FOUND_ROUTE, dashboard, ...routeList]
|
||||
routes = [PAGE_NOT_FOUND_ROUTE, dashboard, ...routeList, about]
|
||||
break
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<div class="flex justify-between items-center">
|
||||
<span class="flex-1">
|
||||
<a :href="GITHUB_URL" target="_blank">{{ name }}</a>
|
||||
是一个基于Vue3.0、Vite、 Ant-Design-Vue 、TypeScript
|
||||
基于Vue3.0、Vite、 Ant-Design-Vue 、TypeScript
|
||||
的后台解决方案,目标是为中大型项目开发,提供现成的开箱解决方案及丰富的示例,原则上不会限制任何代码用于商用。
|
||||
</span>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue