Refactor router.config.js

pull/3445/head
ruibaby 2019-04-29 17:21:59 +08:00
parent 4a2ef64adf
commit e5266f4926
2 changed files with 3 additions and 1 deletions

View File

@ -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')
}, },
{ {

View File

@ -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() {