diff --git a/packages/uni-push/src/route.ts b/packages/uni-push/src/route.ts index 93478bb43d53eed53c3b1c09156937d1c00a7006..b43b75db4d0305c93408672145250690d7a17843 100644 --- a/packages/uni-push/src/route.ts +++ b/packages/uni-push/src/route.ts @@ -9,7 +9,6 @@ interface OnPushMessageSuccess { } } export function initPushRoute() { - // @ts-expect-error uni.onPushMessage((res: OnPushMessageSuccess) => { if (res.data && res.data.path && res.type === 'receive') { // 仅 App 端