mirror of
https://gitee.com/openharmony/applications_launcher
synced 2025-02-17 06:19:04 +00:00
update common/src/main/ets/default/model/AppModel.ts.
Signed-off-by: 王志港 <wangzhigang46@huawei.com>
This commit is contained in:
parent
5e11a50f7e
commit
efa6e6c309
@ -146,6 +146,10 @@ export class AppModel {
|
||||
this.closePopup();
|
||||
this.updateShortcutInfo(bundleName, event);
|
||||
this.mFormModel.updateAppItemFormInfo(bundleName, event);
|
||||
// initial mBundleInfoList
|
||||
if (CheckEmptyUtils.isEmptyArr(this.mBundleInfoList)) {
|
||||
await this.getAppListAsync();
|
||||
}
|
||||
if (event === EventConstants.EVENT_PACKAGE_REMOVED) {
|
||||
this.removeItem(bundleName);
|
||||
this.mFormModel.deleteFormByBundleName(bundleName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user