提交 922a491d 编写于 作者: fxy060608's avatar fxy060608

fix(api): onPush

上级 bb1c8683
......@@ -24,7 +24,7 @@ export function isSyncApi (name) {
}
export function isCallbackApi (name) {
return CALLBACK_API_RE.test(name)
return CALLBACK_API_RE.test(name) && name !== 'onPush'
}
export function isTaskApi (name) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册