Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.0k views
in Technique[技术] by (71.8m points)

node 使用 xlsx导出 excel只能导出999条数据

const xlsx = require('xlsx');
使用的xlsx库下载 excel 数据,下载出来只有999条,怎么可以全部下载出来
image.png


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

问题找到了,是 key = Object.keys(jsonWorkSheet).sort();
ref = A2:M999;
排序后最后一个 是 M999,所以只取到999条数据。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...