From ea21c88e64d7c935dbae572ff81e9acc72e936a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B0=B4=E8=90=BD=28YangLei=29?= Date: Sun, 27 Jun 2021 13:49:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B7=AF=E7=94=B1=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 5 + src/pages/frame/layouts/AdminLayout.vue | 42 +++++- src/pages/frame/view/login/Login.vue | 14 +- .../frame/view/template/PageTemplateView.vue | 2 +- src/pages/home/index.vue | 3 + src/pages/system/view/menu/MenuManagement.vue | 23 +--- src/utils/i18nUtil.js | 121 +++++++++--------- src/utils/index.js | 24 ++++ 8 files changed, 138 insertions(+), 96 deletions(-) create mode 100644 src/api/index.js create mode 100644 src/pages/home/index.vue diff --git a/src/api/index.js b/src/api/index.js new file mode 100644 index 0000000..e5b1105 --- /dev/null +++ b/src/api/index.js @@ -0,0 +1,5 @@ +import { request, METHOD } from '@/utils'; + +export function getUserDetailInfoApi() { + return request('/api/v1/detail', METHOD.GET); +} diff --git a/src/pages/frame/layouts/AdminLayout.vue b/src/pages/frame/layouts/AdminLayout.vue index ae7621a..78b4fed 100644 --- a/src/pages/frame/layouts/AdminLayout.vue +++ b/src/pages/frame/layouts/AdminLayout.vue @@ -1,13 +1,29 @@