mirror of
https://github.com/openharmony/applications_photos.git
synced 2026-07-01 13:17:23 -04:00
[Bug]: 【OpenHarmony】【RK3568】【手工预测试】【5/5必现】【图库】长按单个或多个图片、视频无法删除
Signed-off-by: chenzhang <chenzhang22@h-partners.com>
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 = this.currentBatch < this.totalBatches ? 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