diff --git a/.env.production b/.env.production
index de149ab..f08ed82 100644
--- a/.env.production
+++ b/.env.production
@@ -13,4 +13,4 @@ ENV = 'production'
# VUE_APP_BASE_API = 'http://39.101.188.84:7071'
# 正式环境
-VUE_APP_BASE_API = 'https://gysl.sipac.gov.cn/api'
+VUE_APP_BASE_API = '/api'
diff --git a/src/components/bearicon/index.vue b/src/components/bearicon/index.vue
index ce46504..2a416ad 100644
--- a/src/components/bearicon/index.vue
+++ b/src/components/bearicon/index.vue
@@ -2,7 +2,7 @@
-
+
@@ -26,7 +26,7 @@ export default {
computed: {
showCompanySection() {
const isCompany = this.checkRole(['company']);
- const isCommon = this.checkRole(['common']);
+ const isCommon = this.checkRole(['common','gov']);
// 如果两个角色都存在,则隐藏企业端
return isCompany && !isCommon;
}
@@ -52,8 +52,8 @@ export default {
const response = await getMessageCounttwo();
if (response && response.code === 200) {
this.countstwo = response.data; // 将消息数量赋值给 counts
- } else { }
- } catch (error) { }
+ } else { }
+ } catch (error) {}
},
}
}
diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index babdcf6..ee53317 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -10,7 +10,7 @@