提交 4702bf0d 编写于 作者: Q qiang

fix: 部分报错调整为仅在开发环境打印

上级 90c202f8
......@@ -15,7 +15,7 @@ export default function initSubscribe (subscribe, {
const page = pages.find(page => page.$page.id === pageId)
if (page) {
callPageHook(page, eventType, args)
} else {
} else if (process.env.NODE_ENV !== 'production') {
console.error(`Not Found:Page[${pageId}]`)
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册