mirror of
https://gitee.com/openharmony/applications_launcher
synced 2025-02-17 06:19:04 +00:00
update common/src/main/ets/default/model/PageDesktopModel.ts.
Signed-off-by: 王志港 <wangzhigang46@huawei.com>
This commit is contained in:
parent
8c269c3f66
commit
3cfb982463
@ -94,6 +94,9 @@ export class PageDesktopModel {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (layoutInfo.layoutDescription.pageCount <= 1) {
|
||||
return false;
|
||||
}
|
||||
layoutInfo.layoutDescription.pageCount--;
|
||||
for (let m = 0; m < layoutInfo.layoutInfo.length; m++) {
|
||||
if (layoutInfo.layoutInfo[m].page > page) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user