From 4bcd0cfc3b5c696a38aa7f8343607afc2effd002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=95=E9=87=91=E6=B3=BD?= <1098696801@qq.com> Date: Sun, 20 Mar 2022 00:31:05 +0800 Subject: [PATCH] =?UTF-8?q?build=20=E6=AD=A3=E5=B8=B8=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- magic-boot-ui/.env.production | 2 +- .../magic/basic/mb-editor-table.vue | 7 ++- magic-boot-ui/src/scripts/common.js | 46 +++++++++---------- magic-boot-ui/src/scripts/routerPermission.js | 10 ++-- magic-boot-ui/src/views/dashboard/index.vue | 31 ------------- magic-boot-ui/vite.config.js | 39 +++++++++++----- 6 files changed, 64 insertions(+), 71 deletions(-) delete mode 100644 magic-boot-ui/src/views/dashboard/index.vue diff --git a/magic-boot-ui/.env.production b/magic-boot-ui/.env.production index 3c88bb5..f36aac8 100644 --- a/magic-boot-ui/.env.production +++ b/magic-boot-ui/.env.production @@ -1,3 +1,3 @@ ENV = 'production' -VITE_APP_BASE_API = 'http://xxx:8081/' +VITE_APP_BASE_API = 'http://localhost:8081/' diff --git a/magic-boot-ui/src/components/magic/basic/mb-editor-table.vue b/magic-boot-ui/src/components/magic/basic/mb-editor-table.vue index c016c21..7ed256f 100644 --- a/magic-boot-ui/src/components/magic/basic/mb-editor-table.vue +++ b/magic-boot-ui/src/components/magic/basic/mb-editor-table.vue @@ -5,8 +5,12 @@