From 086c1655c88d12eb6f9b6055d261c88f3d03b856 Mon Sep 17 00:00:00 2001 From: 13405411873 <1994398261@qq.com> Date: Mon, 11 Nov 2024 11:25:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=B5=8B=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/staffTabBer/tabBar.vue | 5 ++- components/tabBar/tabBar.vue | 63 +++++++++++++++++++++---------- main.js | 2 + pages/index/orderdetails.vue | 33 ++++++++++------ 4 files changed, 71 insertions(+), 32 deletions(-) diff --git a/components/staffTabBer/tabBar.vue b/components/staffTabBer/tabBar.vue index 839f21f..421a337 100644 --- a/components/staffTabBer/tabBar.vue +++ b/components/staffTabBer/tabBar.vue @@ -28,7 +28,7 @@ export default{ data(){ return{ - msgSocket: this.$msgSocket, + msgSocket: null, aindex:1, arr:[ {text:'首页'}, @@ -45,7 +45,8 @@ this.aindex = this.msg }, mounted() { - console.log(this.aindex); + + this.msgSocket = this.$msgSocket, this.aindex = this.msg }, watch: { diff --git a/components/tabBar/tabBar.vue b/components/tabBar/tabBar.vue index c88306e..5218be3 100644 --- a/components/tabBar/tabBar.vue +++ b/components/tabBar/tabBar.vue @@ -35,10 +35,12 @@