@cabloy/vue-runtime-core 3.5.38 → 3.5.39
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
|
@@ -2018,7 +2018,10 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
2018
2018
|
}
|
|
2019
2019
|
}
|
|
2020
2020
|
if (shared.isFunction(ref)) {
|
|
2021
|
-
|
|
2021
|
+
const ignore = vnode.shapeFlag & 4 && vnode.component && vnode.component.type.inheritAttrs === false;
|
|
2022
|
+
if (!ignore) {
|
|
2023
|
+
callWithErrorHandling(ref, owner, 12, [value, refs]);
|
|
2024
|
+
}
|
|
2022
2025
|
} else {
|
|
2023
2026
|
const _isString = shared.isString(ref);
|
|
2024
2027
|
const _isRef = reactivity.isRef(ref);
|
|
@@ -1530,7 +1530,10 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
1530
1530
|
}
|
|
1531
1531
|
}
|
|
1532
1532
|
if (shared.isFunction(ref)) {
|
|
1533
|
-
|
|
1533
|
+
const ignore = vnode.shapeFlag & 4 && vnode.component && vnode.component.type.inheritAttrs === false;
|
|
1534
|
+
if (!ignore) {
|
|
1535
|
+
callWithErrorHandling(ref, owner, 12, [value, refs]);
|
|
1536
|
+
}
|
|
1534
1537
|
} else {
|
|
1535
1538
|
const _isString = shared.isString(ref);
|
|
1536
1539
|
const _isRef = reactivity.isRef(ref);
|
|
@@ -2022,7 +2022,10 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
2022
2022
|
}
|
|
2023
2023
|
}
|
|
2024
2024
|
if (isFunction(ref)) {
|
|
2025
|
-
|
|
2025
|
+
const ignore = vnode.shapeFlag & 4 && vnode.component && vnode.component.type.inheritAttrs === false;
|
|
2026
|
+
if (!ignore) {
|
|
2027
|
+
callWithErrorHandling(ref, owner, 12, [value, refs]);
|
|
2028
|
+
}
|
|
2026
2029
|
} else {
|
|
2027
2030
|
const _isString = isString(ref);
|
|
2028
2031
|
const _isRef = isRef(ref);
|