mirror of https://github.com/halo-dev/halo
Refactor router.config.js
parent
4a2ef64adf
commit
e5266f4926
|
@ -221,10 +221,12 @@ export const constantRouterMap = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/login',
|
path: '/login',
|
||||||
|
meta: { title: '登录' },
|
||||||
component: () => import('@/views/user/Login')
|
component: () => import('@/views/user/Login')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/install',
|
path: '/install',
|
||||||
|
meta: { title: '安装向导' },
|
||||||
component: () => import('@/views/system/Installation')
|
component: () => import('@/views/system/Installation')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -569,7 +569,7 @@ export default {
|
||||||
loadOptions() {
|
loadOptions() {
|
||||||
optionApi.listAll().then(response => {
|
optionApi.listAll().then(response => {
|
||||||
this.options = response.data.data
|
this.options = response.data.data
|
||||||
this.handleAttachChange(this.options['attachment_type'])
|
this.handleAttachChange(this.options['attachment_type'])
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSaveOptions() {
|
handleSaveOptions() {
|
||||||
|
|
Loading…
Reference in New Issue