修复功能分类数据在卸载应用后数据重复问题

This commit is contained in:
hewenfei 2023-04-11 10:05:22 +08:00
parent 29faf8dfd2
commit 63caa1841e
1 changed files with 1 additions and 0 deletions

View File

@ -182,6 +182,7 @@ void AppCategoryPlugin::reLoadApps()
for (auto &item : d->categoryData) { for (auto &item : d->categoryData) {
item.label.setDisable(true); item.label.setDisable(true);
item.apps.clear();
} }
QList<DataEntity> apps = AppDataManager::instance()->normalApps(); QList<DataEntity> apps = AppDataManager::instance()->normalApps();