fix:当桌面应用AppIcon改变、重新安装并重启后,不显示应用图标的问题

Signed-off-by: Winslei <280069503@qq.com>
This commit is contained in:
Winslei 2024-01-10 16:09:55 +08:00
parent 5431722ac1
commit 4ed33c153e

View File

@ -273,6 +273,7 @@ export class PageDesktopViewModel extends BaseViewModel {
for (const appInfo of totalAppInfoList) {
if (item.keyName == appInfo.keyName) {
item.appName = appInfo.appName;
item.appIconId = appInfo.appIconId;
return true;
}
}