From 86ce1f8cd98e342ccbe4643ac134e01a23dd4628 Mon Sep 17 00:00:00 2001 From: Fine0830 Date: Sat, 14 Sep 2024 10:54:41 +0800 Subject: [PATCH] add isPV --- src/performance/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/performance/index.ts b/src/performance/index.ts index 88742f0..f750270 100644 --- a/src/performance/index.ts +++ b/src/performance/index.ts @@ -144,10 +144,10 @@ class TracePerf { ...perfDetail, ...this.perfInfo, }; - this.reportPerf(perfInfo); + this.reportPerf({...perfInfo, isPV: true}); } - public reportPerf(data: {[key: string]: number | string}, collector?: string) { + public reportPerf(data: {[key: string]: number | string | boolean}, collector?: string) { const perf = { ...data, ...this.perfInfo