From 08b10cfa3ff55e7fd303d549469b51f923689151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=AE=8F=E6=9D=B0?= <1943105267@qq.com> Date: Tue, 2 Jan 2024 10:27:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E7=AE=A1=E7=90=86=E5=91=98?= =?UTF-8?q?=E7=AB=AF=E7=9B=B4=E6=8E=A5=E8=AE=BF=E9=97=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- src/assets/styles/index.scss | 2 +- src/layout/index.vue | 18 ++++++++++------- src/permission.js | 39 +++++++++++++++++++++++++++++------- src/store/getters.js | 1 + src/store/modules/user.js | 4 ++++ vue.config.js | 3 ++- 8 files changed, 53 insertions(+), 18 deletions(-) diff --git a/.env.development b/.env.development index 9b6cf76..1962435 100644 --- a/.env.development +++ b/.env.development @@ -6,7 +6,7 @@ ENV = 'development' # 苏州园区志愿服务活动区块链平台/开发环境 # VUE_APP_BASE_API = 'https://vue.ruoyi.vip/prod-api' -VUE_APP_BASE_API = 'http://39.101.188.84:9034' +VUE_APP_BASE_API = 'http://localhost:9034/api/' # VUE_APP_BASE_API = 'http:///192.168.0.119:9034' # 路由懒加载 diff --git a/.env.production b/.env.production index e103ca9..cd906bd 100644 --- a/.env.production +++ b/.env.production @@ -7,4 +7,4 @@ ENV = 'production' # 苏州园区志愿服务活动区块链平台/生产环境 # VUE_APP_BASE_API = 'http://39.101.188.84:9034/api' -VUE_APP_BASE_API = 'http://192.114.0.243/api' +VUE_APP_BASE_API = 'https://zyzqkl.sipac.gov.cn/api' diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 450167c..5f508a4 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -129,7 +129,7 @@ aside { width: 100%; background: #fff; box-shadow: 0px 0px 15px 0px rgba(229, 212, 212, 0.58); - border-radius: 8px 8px 0 0px; + border-radius: 8px; overflow-y: auto; } diff --git a/src/layout/index.vue b/src/layout/index.vue index b9fc486..f85917f 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -1,9 +1,12 @@