mirror of https://github.com/halo-dev/halo
Add main api
parent
f24bbf33f4
commit
7cc872fada
|
@ -0,0 +1,12 @@
|
||||||
|
import service from '@/utils/service'
|
||||||
|
|
||||||
|
const mainApi = {}
|
||||||
|
|
||||||
|
mainApi.version = () => {
|
||||||
|
return service({
|
||||||
|
url: 'version',
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export default mainApi
|
|
@ -188,7 +188,6 @@ export const asyncRouterMap = [
|
||||||
path: '/system/about',
|
path: '/system/about',
|
||||||
name: 'About',
|
name: 'About',
|
||||||
component: () => import('@/views/system/About'),
|
component: () => import('@/views/system/About'),
|
||||||
hidden: true,
|
|
||||||
meta: { title: '关于 Halo', hiddenHeaderContent: false }
|
meta: { title: '关于 Halo', hiddenHeaderContent: false }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue