提交 49f19c73 编写于 作者: D DCloud_LXH

fix(mp-alipay): alipay add onShareAppMessage hook

上级 6b462945
......@@ -13,6 +13,7 @@ import {
ON_SHOW,
ON_THEME_CHANGE,
ON_UNHANDLE_REJECTION,
ON_SHARE_APP_MESSAGE,
} from '@dcloudio/uni-shared'
import { injectAppLaunchHooks } from '../api/hook'
......@@ -33,6 +34,10 @@ const HOOKS = [
ON_UNHANDLE_REJECTION,
]
if (__PLATFORM__ === 'mp-alipay') {
HOOKS.push(ON_SHARE_APP_MESSAGE)
}
export interface ParseAppOptions {
parse: (appOptions: MiniProgramAppOptions) => void
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册