@cabloy/vue-runtime-core 3.5.39 → 3.5.40
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
|
@@ -5225,13 +5225,15 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
5225
5225
|
}
|
|
5226
5226
|
};
|
|
5227
5227
|
const updateComponent = (n1, n2, optimized) => {
|
|
5228
|
+
let needUpdate;
|
|
5228
5229
|
if (n2.component !== n1.component) {
|
|
5229
5230
|
if (n1.component.zovaHostProviders !== n2.zovaHostProviders) {
|
|
5230
5231
|
n1.component.zovaHostProviders = n2.zovaHostProviders;
|
|
5232
|
+
needUpdate = true;
|
|
5231
5233
|
}
|
|
5232
5234
|
}
|
|
5233
5235
|
const instance = n2.component = n1.component;
|
|
5234
|
-
if (shouldUpdateComponent(n1, n2, optimized)) {
|
|
5236
|
+
if (needUpdate || shouldUpdateComponent(n1, n2, optimized)) {
|
|
5235
5237
|
if (instance.asyncDep && !instance.asyncResolved) {
|
|
5236
5238
|
{
|
|
5237
5239
|
pushWarningContext(n2);
|
|
@@ -4009,13 +4009,15 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
4009
4009
|
}
|
|
4010
4010
|
};
|
|
4011
4011
|
const updateComponent = (n1, n2, optimized) => {
|
|
4012
|
+
let needUpdate;
|
|
4012
4013
|
if (n2.component !== n1.component) {
|
|
4013
4014
|
if (n1.component.zovaHostProviders !== n2.zovaHostProviders) {
|
|
4014
4015
|
n1.component.zovaHostProviders = n2.zovaHostProviders;
|
|
4016
|
+
needUpdate = true;
|
|
4015
4017
|
}
|
|
4016
4018
|
}
|
|
4017
4019
|
const instance = n2.component = n1.component;
|
|
4018
|
-
if (shouldUpdateComponent(n1, n2, optimized)) {
|
|
4020
|
+
if (needUpdate || shouldUpdateComponent(n1, n2, optimized)) {
|
|
4019
4021
|
if (instance.asyncDep && !instance.asyncResolved) {
|
|
4020
4022
|
updateComponentPreRender(instance, n2, optimized);
|
|
4021
4023
|
return;
|
|
@@ -5282,13 +5282,15 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
5282
5282
|
}
|
|
5283
5283
|
};
|
|
5284
5284
|
const updateComponent = (n1, n2, optimized) => {
|
|
5285
|
+
let needUpdate;
|
|
5285
5286
|
if (n2.component !== n1.component) {
|
|
5286
5287
|
if (n1.component.zovaHostProviders !== n2.zovaHostProviders) {
|
|
5287
5288
|
n1.component.zovaHostProviders = n2.zovaHostProviders;
|
|
5289
|
+
needUpdate = true;
|
|
5288
5290
|
}
|
|
5289
5291
|
}
|
|
5290
5292
|
const instance = n2.component = n1.component;
|
|
5291
|
-
if (shouldUpdateComponent(n1, n2, optimized)) {
|
|
5293
|
+
if (needUpdate || shouldUpdateComponent(n1, n2, optimized)) {
|
|
5292
5294
|
if (instance.asyncDep && !instance.asyncResolved) {
|
|
5293
5295
|
if (!!(process.env.NODE_ENV !== "production")) {
|
|
5294
5296
|
pushWarningContext(n2);
|