scorpio 3 years ago
parent
commit
47f0af98bf
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/views/home/component/dash.vue

+ 4 - 1
src/views/home/component/dash.vue

@@ -236,7 +236,7 @@ export default {
     }
   },
   created () {
-    // this.getStageList()
+    this.getStageList()
     this.getTypeList()
     this.$bus.on('serach', (res) => {
       this.onLoad(res)
@@ -251,6 +251,9 @@ export default {
   },
   methods: {
     switchTab (item, index) {
+      if (item === null) {
+        return
+      }
       this.active = index
       this.onLoad({ stageId: item.id === -1 ? '' : item.id })
     },