From e5266f4926e3ae9fd57940296fb6495d460682c2 Mon Sep 17 00:00:00 2001 From: ruibaby Date: Mon, 29 Apr 2019 17:21:59 +0800 Subject: [PATCH] Refactor router.config.js --- src/config/router.config.js | 2 ++ src/views/system/OptionForm.vue | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/config/router.config.js b/src/config/router.config.js index d5fd62ac..221e0896 100644 --- a/src/config/router.config.js +++ b/src/config/router.config.js @@ -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') }, { diff --git a/src/views/system/OptionForm.vue b/src/views/system/OptionForm.vue index b35bd5ce..e33b98d7 100644 --- a/src/views/system/OptionForm.vue +++ b/src/views/system/OptionForm.vue @@ -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() {