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