mirror of https://github.com/halo-dev/halo-admin
Add main api
parent
c17e9d89a6
commit
1f865b4577
|
@ -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',
|
||||
name: 'About',
|
||||
component: () => import('@/views/system/About'),
|
||||
hidden: true,
|
||||
meta: { title: '关于 Halo', hiddenHeaderContent: false }
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue