提交 2fa3a616 编写于 作者: fxy060608's avatar fxy060608

chore: build

上级 a46be108
......@@ -90,6 +90,7 @@ function resolveEasycom(component, easycom) {
// @ts-ignore
const createHook = (lifecycle) => (hook, target = vue.getCurrentInstance()) => {
// post-create lifecycle registrations are noops during SSR
!vue.isInSSRComponentSetup && vue.injectHook(lifecycle, hook, target);
};
const onShow = /*#__PURE__*/ createHook(uniShared.ON_SHOW);
......
......@@ -58,6 +58,7 @@ function resolveEasycom(component, easycom) {
// @ts-ignore
const createHook = (lifecycle) => (hook, target = getCurrentInstance()) => {
// post-create lifecycle registrations are noops during SSR
!isInSSRComponentSetup && injectHook(lifecycle, hook, target);
};
const onShow = /*#__PURE__*/ createHook(ON_SHOW);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册