mirror of
https://gitee.com/openharmony/applications_launcher
synced 2024-11-26 16:41:58 +00:00
修复长按dock栏图标,拖拽至新页面,不松手的情况下再拖拽回dock栏,此时会新建一个空白页
Signed-off-by: zhengyongjie <15531316327@163.com>
This commit is contained in:
parent
31985a74b7
commit
1ba63dab4e
@ -51,7 +51,7 @@ export default struct ResidentLayout {
|
||||
onItemClick: (event: ClickEvent, item: DockItemInfo) => void = (event: ClickEvent, item: DockItemInfo) => {};
|
||||
buildMenu: (item: DockItemInfo) => MenuInfo[] = (item: DockItemInfo): MenuInfo[] => [];
|
||||
onDockListChangeFunc: () => void = () => {};
|
||||
oldPageList:number[] | undefined = [0];
|
||||
oldPageList:number[] = [0];
|
||||
|
||||
aboutToAppear(): void {
|
||||
mSmartDockStyleConfig = this.mSmartDockStyleConfig;
|
||||
|
Loading…
Reference in New Issue
Block a user