Compare commits

...

1 Commits

Author SHA1 Message Date
peterlu14 e282e97151 [update] download excel bug fix 2021-11-08 14:26:49 +08:00
@@ -196,9 +196,10 @@ const exportActs = {
for (let row = 0; row < dataLength; row++) {
const rowData = []
for (const [chIndex, channel] of channels.entries()) {
const dataBuffer = downloadInfo.channelInfo[channel].downloadDataBuffer
for (const index in dataBuffer) {
const columnArray = [...Array(downloadInfo.maxColumns).keys()]
for (const index in columnArray) {
for (const [chIndex, channel] of channels.entries()) {
const dataBuffer = downloadInfo.channelInfo[channel].downloadDataBuffer
if (dataBuffer[index][row] === undefined) {
if (downloadInfo.format === 'csv-edf' && payload.last) {
dataBuffer[index][row] = []