Commit 25b3db6f by 杨明

fixed

1 parent b28af17d
......@@ -395,8 +395,8 @@ export default {
//折线图数据
async getChart() {
this.$apis.home.getChart({ day: 30, date: this.summaryTime }).then(res => {
if (res.custAddList && res.custAddList.length) {
const { custAddList, custEntmicroAdds, custLoseList } = res
if (res && res.custAddList && res.custAddList.length) {
const { custAddList = [], custEntmicroAdds, custLoseList } = res
let custAddListData = custAddList.map(item => {
return item.customerCount
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!