tianyi 1 week ago
parent
commit
c098d9810a
  1. 5
      components/tab-bar/tab-bar.vue

5
components/tab-bar/tab-bar.vue

@ -90,11 +90,14 @@
methods: {
//tab
clickBar(index) {
this.getWorkerCounts()
for (let i = 0; i < this.tabList.length; i++) {
if (index == i) {
this.$emit('tab-index', i);
if(index == 2) return
if(index != 0){
this.getWorkerCounts()
}
this.tabList[i].isCheck = true
if (this.tabList[i].shaking) return

Loading…
Cancel
Save