From a669939c58b97861e3448bce36eb0bccd80ee20a Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 30 Oct 2023 10:40:04 +0800
Subject: [PATCH] 角色切换
---
components/tabBar/tabBar.vue | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/components/tabBar/tabBar.vue b/components/tabBar/tabBar.vue
index 0c23be8..e047ef0 100644
--- a/components/tabBar/tabBar.vue
+++ b/components/tabBar/tabBar.vue
@@ -9,9 +9,6 @@
</template>
<script>
- import {
- messageCount,
- } from "@/api/system/message.js"
export default {
props: {
currentTab: {},
@@ -65,15 +62,7 @@
},
methods: {
change(e) {
- this.$store.commit("SET_TABBAT_INDEX", e)
this.$emit("change", this.curTabList[e].url)
- let params = {
- recipient: this.userInfo.user_id,
- status: 0
- }
- messageCount(params).then(res => {
- this.$u.func.updateTabbar(res.data)
- })
},
}
--
Gitblit v1.9.3