Skip to content

Commit

Permalink
fix: 修复act判断异常
Browse files Browse the repository at this point in the history
  • Loading branch information
Chryseis committed Dec 17, 2021
1 parent e95cd69 commit 0d0c6e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-performance/src/metrics/getCCP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const reportMetrics = (store: metricsStore, report, immediately) => {
const rl = store.get(metricsName.RL)

if (act && ccp) {
if (act.value < ccp.value) {
if (act.value.time < ccp.value) {
report(act)
report(ccp)

Expand Down

0 comments on commit 0d0c6e7

Please sign in to comment.