(startIndex: number)
| 336 | |
| 337 | // 辅助函数:标记剩余文件为已取消 |
| 338 | const markRemainingAsCancelled = (startIndex: number) => { |
| 339 | for (let j = startIndex; j < batchFiles.value.length; j++) { |
| 340 | if (batchFiles.value[j].status === 'pending') { |
| 341 | batchFiles.value[j].status = 'cancelled' |
| 342 | cancelledCount++ |
| 343 | } |
| 344 | } |
| 345 | } |
| 346 | |
| 347 | // 串行导入每个文件 |
| 348 | for (let i = 0; i < batchFiles.value.length; i++) { |
no outgoing calls
no test coverage detected