2021年4月12日

摘要: <td><a style='color:#007acc' onclick='edit(this," + item.id + ")'>查看</a> &nbsp &nbsp <a style='color:#007acc' onclick='daochu(this," + item.id + ")& 阅读全文
posted @ 2021-04-12 17:13 爬坑 阅读(507) 评论(0) 推荐(0) 编辑
 
摘要: 网上查了挺多资料,都不兼容IE,要么就是不是通过json来导出excel表格; 直接上代码吧。 var tats= [{},{},{}] //这样的格式导出。 tats.forEach(function (item, index) { var vote = {}; vote.id = index + 阅读全文
posted @ 2021-04-12 17:08 爬坑 阅读(157) 评论(0) 推荐(0) 编辑