shuishen
2023-10-30 d5fac02a6fdc6564ff5da88056245d0fa579f3c6
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)
            })
         },
      }