Skip to content

Commit

Permalink
fix: 拉取数量显示错误
Browse files Browse the repository at this point in the history
  • Loading branch information
CodFrm committed Nov 9, 2021
1 parent 6bf5b29 commit 106de02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apps/user/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class UserManager {
syncNum++;
}
}
InfoNotification('首次数据同步成功', `成功拉取${data.length}个脚本,有${syncNum}个脚本将自动同步`);
InfoNotification('首次数据同步成功', `成功拉取${map.size}个脚本,有${syncNum}个脚本将自动同步`);
if (syncNum > 0) {
this.syncScript();
} else {
Expand Down Expand Up @@ -181,7 +181,7 @@ export class UserManager {
syncNum++;
}
}
InfoNotification('首次数据同步成功', `成功拉取${data.length}个订阅,有${syncNum}个订阅将自动同步`);
InfoNotification('首次数据同步成功', `成功拉取${map.size}个订阅,有${syncNum}个订阅将自动同步`);
if (syncNum > 0) {
this.syncSubscribe();
} else {
Expand Down

0 comments on commit 106de02

Please sign in to comment.