From 3e2cf300dd9ae795876b2dc20a157eff945311a6 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Tue, 12 May 2020 10:34:53 +0800 Subject: [PATCH] docs --- client/src/router/index.js | 12 +++++++++++- client/src/views/system/dict.vue | 3 ++- client/src/views/system/user.vue | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/client/src/router/index.js b/client/src/router/index.js index 0348c12..76e95a0 100644 --- a/client/src/router/index.js +++ b/client/src/router/index.js @@ -97,7 +97,17 @@ export const asyncRoutes = [ name: 'Dict', component: () => import('@/views/system/dict'), meta: { title: '数据字典', icon: 'example', perms: ['dict_manage'] } - } + }, + { + path: 'external-link', + component: Layout, + children: [ + { + path: process.env.VUE_APP_BASE_API + '/docs/', + meta: { title: '接口文档', icon: 'link', perms: ['docs'] } + } + ] + }, ] }, // 404 page must be placed at the end !!! diff --git a/client/src/views/system/dict.vue b/client/src/views/system/dict.vue index 50d41e9..2c56ee5 100644 --- a/client/src/views/system/dict.vue +++ b/client/src/views/system/dict.vue @@ -5,7 +5,7 @@
字典类型 - 新增 + 新增
编辑 diff --git a/client/src/views/system/user.vue b/client/src/views/system/user.vue index 92b623f..851c39c 100644 --- a/client/src/views/system/user.vue +++ b/client/src/views/system/user.vue @@ -233,7 +233,7 @@ export default { }, myHeaders: { Authorization: 'JWT ' + getToken() }, uploadUrl: uploadUrl(), - userList: [], + userList: {count:0}, roles: [], listLoading: true, listQuery: {