Преглед на файлове

选择累计产品,tab判断

chenrui преди 6 месеца
родител
ревизия
db14e55598
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/salesManagement/salesQueryNew/comps/cumulativeProduct.vue

+ 1 - 1
src/views/salesManagement/salesQueryNew/comps/cumulativeProduct.vue

@@ -237,7 +237,7 @@ export default {
         }
       }
       this.tabList = tabList
-      this.promoProductClz = tabList[0].val
+      this.promoProductClz = tabList && tabList.length ? tabList[0].val:''
       this.tableHeight = window.innerHeight - 368
       this.resetSearchForm()
     },