tiankai0426 / tiakiaBlogComment

tiakia个人博客的评论
0 stars 0 forks source link

前端导出Excel文件 - Tiankai's Blog #65

Open tiankai0426 opened 5 years ago

tiankai0426 commented 5 years ago

http://www.tiankai.party/posts/4824/

linfeimy commented 5 years ago

index.vue?b23c:395 Uncaught (in promise) TypeError: Cannot read property 'speedMarket' of undefined

tiankai0426 commented 5 years ago

@linfeimy index.vue?b23c:395 Uncaught (in promise) TypeError: Cannot read property 'speedMarket' of undefined

你是完全照抄的吗?后面那个只是一个例子,archiveDetail 是一个类似这样的对象数组,数组第一个是表头,表头对应后面各个字段

archiveDetail = [{
      cust_name: "123",
      certificate_type: "123",
      certificate_no: "123",
      cust_sex: "123",
      credit_no: "123",
      teller_no: "123",
      teller_name: "123",
      ab_user: "123",
      ab_name: "123",
      card_status: "123"
}]