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) }) }, }