@@ -56,6 +56,9 @@ export default {
created () {
this.windowResizeHandle()
this.routeHandle(this.$route)
+ if (this.routeList_C.length == 0) {
+ this.$store.state.sidebarHide = true
+ }
Promise.all([
this.getUserInfo(),
this.getPermissions()
@@ -118,6 +121,11 @@ export default {
}).catch(() => {})
},
mainIndexByValue (e) {
+ // 跳转进来直接打开社区查询关闭其他
+ this.$store.state.sidebarHide = true
+ this.$store.state.contentTabs = this.$store.state.contentTabs.filter(item => item.name === 'productIframe-shequ-index')
+ this.$router.push({ name: 'productIframe-shequ-index' })
+
window.localStorage.setItem('isGoProgect', e)
this.isGoProgect = window.localStorage.getItem('isGoProgect')
}
diff --git a/src/views/modules/productIframe/base-community-community.vue b/src/views/modules/productIframe/base-community-community.vue
index baff1d51..068fa3bc 100644
--- a/src/views/modules/productIframe/base-community-community.vue
+++ b/src/views/modules/productIframe/base-community-community.vue
@@ -1,10 +1,7 @@
-
-
+
-
+