From ceeb19ad302df0ae6146895cac263d7bdc38ac31 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期四, 29 六月 2023 14:18:20 +0800 Subject: [PATCH] 称重页面问题修改,样式修改 --- pages/tabbar-page/index-tabbar/index-tabbar.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/tabbar-page/index-tabbar/index-tabbar.vue b/pages/tabbar-page/index-tabbar/index-tabbar.vue index 04a8ca5..16bb79f 100644 --- a/pages/tabbar-page/index-tabbar/index-tabbar.vue +++ b/pages/tabbar-page/index-tabbar/index-tabbar.vue @@ -13,7 +13,7 @@ </view> </view> </view> - <customer-index v-if="roleType == 1" + <customer-index v-if="roleType == 1||roleType == 4" ref="customerIndexRef" :orderPlanDataStore="orderPlanDataStore"></customer-index> <freight-forwarder-index v-if="roleType == 2" @@ -175,7 +175,7 @@ if (this.globalisconnect) { this.$store.dispatch('websocketInit') this.changeisconnect(false) - console.log(this.globalisconnect, 'index鐨剋s蹇冧簨鈥�'); + console.log(this.globalisconnect, 'index鐨剋s鏁版嵁鈥�'); } this.userAuthorization(); this.messageReq(); @@ -187,6 +187,7 @@ console.log('椤甸潰鍗歌浇'); this.$store.dispatch('websocketOnClose') clearInterval(this.globalIntervalId); + this.changeisconnect(true) }, methods: { ...mapMutations(['pushMessage', 'changeWeigh', 'changeinfraredStatus', 'changeisconnect', 'websocketInit']), -- Gitblit v1.9.1