浏览代码

选择累计产品,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()
     },