Skip to content

Commit

Permalink
chore: ignore some type error
Browse files Browse the repository at this point in the history
  • Loading branch information
fxy060608 committed Jan 6, 2025
1 parent 22a7cba commit 025b80a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/uni-mp-core/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export function initUni(
// 处理 api mp 打包后为不同js,emitter 无法共享问题
if (__PLATFORM__ === 'mp-alipay') {
platform.$emit = $emit
// @ts-expect-error
if (!my.canIUse('getOpenerEventChannel'))
platform.getEventChannel = getEventChannel
}
Expand Down

0 comments on commit 025b80a

Please sign in to comment.