mirror of
https://github.com/openharmony/applications_photos.git
synced 2026-07-01 13:17:23 -04:00
!626 [Bug]: 【OpenHarmony】【RK3568】【手工预测试】【5/5必现】【图库】长按单个或多个图片、视频无法删除
Merge pull request !626 from chenzhang/master
This commit is contained in:
@@ -107,7 +107,7 @@ export class BatchDeleteMenuOperation extends ProcessMenuOperation {
|
||||
}
|
||||
this.currentBatch++;
|
||||
let startIndex: number = (this.currentBatch - 1) * this.BATCH_SIZE;
|
||||
let endIndex: number = this.currentBatch * this.BATCH_SIZE;
|
||||
let endIndex: number = Math.min(this.currentBatch * this.BATCH_SIZE, this.count);
|
||||
let batchUris: Array<string> = new Array();
|
||||
for (let index = startIndex; index < endIndex; index++) {
|
||||
batchUris.push(this.uris[index]);
|
||||
|
||||
Reference in New Issue
Block a user