@cabloy/vue-runtime-core 3.4.30 → 3.4.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/runtime-core.cjs.js
CHANGED
|
@@ -2882,6 +2882,9 @@ const createHook = (lifecycle) => (hook, target = currentInstance) => {
|
|
|
2882
2882
|
if (!isInSSRComponentSetup || lifecycle === "sp") {
|
|
2883
2883
|
injectHook(lifecycle, (...args) => hook(...args), target);
|
|
2884
2884
|
}
|
|
2885
|
+
if (lifecycle === "m" && (target == null ? void 0 : target.isMounted)) {
|
|
2886
|
+
hook();
|
|
2887
|
+
}
|
|
2885
2888
|
};
|
|
2886
2889
|
const onBeforeMount = createHook("bm");
|
|
2887
2890
|
const onMounted = createHook("m");
|
|
@@ -2244,6 +2244,9 @@ const createHook = (lifecycle) => (hook, target = currentInstance) => {
|
|
|
2244
2244
|
if (!isInSSRComponentSetup || lifecycle === "sp") {
|
|
2245
2245
|
injectHook(lifecycle, (...args) => hook(...args), target);
|
|
2246
2246
|
}
|
|
2247
|
+
if (lifecycle === "m" && (target == null ? void 0 : target.isMounted)) {
|
|
2248
|
+
hook();
|
|
2249
|
+
}
|
|
2247
2250
|
};
|
|
2248
2251
|
const onBeforeMount = createHook("bm");
|
|
2249
2252
|
const onMounted = createHook("m");
|
|
@@ -2886,6 +2886,9 @@ const createHook = (lifecycle) => (hook, target = currentInstance) => {
|
|
|
2886
2886
|
if (!isInSSRComponentSetup || lifecycle === "sp") {
|
|
2887
2887
|
injectHook(lifecycle, (...args) => hook(...args), target);
|
|
2888
2888
|
}
|
|
2889
|
+
if (lifecycle === "m" && (target == null ? void 0 : target.isMounted)) {
|
|
2890
|
+
hook();
|
|
2891
|
+
}
|
|
2889
2892
|
};
|
|
2890
2893
|
const onBeforeMount = createHook("bm");
|
|
2891
2894
|
const onMounted = createHook("m");
|