From b78cf5c6e11699fbe5202e35b3ce4a1dc1b8c3fb Mon Sep 17 00:00:00 2001 From: chenghongxing <1126263215@qq.com> Date: Thu, 23 Jul 2020 12:40:36 +0800 Subject: [PATCH] chore: optimize the code of system layout; :star2: --- src/layouts/PageLayout.vue | 6 +- src/layouts/tabs/TabsView.vue | 2 +- src/pages/exception/403.vue | 5 +- src/pages/exception/404.vue | 8 +- src/pages/exception/500.vue | 5 +- src/router/config.js | 215 ++++++++++++++++++++++++++++++++++ src/router/index.js | 202 +------------------------------- src/store/index.js | 10 +- src/store/modules/index.js | 4 + 9 files changed, 233 insertions(+), 224 deletions(-) create mode 100644 src/router/config.js create mode 100644 src/store/modules/index.js diff --git a/src/layouts/PageLayout.vue b/src/layouts/PageLayout.vue index fd5780e..61dc9b4 100644 --- a/src/layouts/PageLayout.vue +++ b/src/layouts/PageLayout.vue @@ -1,6 +1,6 @@