File tree 1 file changed +0
-3
lines changed
packages/uni-app-plus/src/x/api/performance
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,6 @@ class PerformanceEntryStatusLayout extends PerformanceEntryStatus {
120
120
121
121
const innerPage = super . getCurrentInnerPage ( )
122
122
if ( innerPage != null ) {
123
- // @ts -expect-error
124
123
this . _entryData . duration = innerPage . getFirstPageLayoutDuration ( )
125
124
}
126
125
}
@@ -143,7 +142,6 @@ class PerformanceEntryStatusRender extends PerformanceEntryStatus {
143
142
144
143
const innerPage = super . getCurrentInnerPage ( )
145
144
if ( innerPage != null ) {
146
- // @ts -expect-error
147
145
this . _entryData . duration = innerPage . getFirstPageRenderDuration ( )
148
146
}
149
147
}
@@ -167,7 +165,6 @@ class PerformanceEntryStatusNavigation extends PerformanceEntryStatus {
167
165
if ( innerPage != null ) {
168
166
this . _entryData . duration = Date . now ( ) - this . _entryData . startTime
169
167
if ( this . _entryData . name == APP_LAUNCH ) {
170
- // @ts -expect-error
171
168
this . _entryData . duration += getNativeApp ( ) . getAppStartDuration ( )
172
169
}
173
170
}
You can’t perform that action at this time.
0 commit comments