nuxt4, and some changes on packages
This commit is contained in:
+7
-2
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/reactivity v3.5.14
|
||||
* @vue/reactivity v3.5.18
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
@@ -491,6 +491,7 @@ class Link {
|
||||
}
|
||||
}
|
||||
class Dep {
|
||||
// TODO isolatedDeclarations "__v_skip"
|
||||
constructor(computed) {
|
||||
this.computed = computed;
|
||||
this.version = 0;
|
||||
@@ -511,6 +512,10 @@ class Dep {
|
||||
* Subscriber counter
|
||||
*/
|
||||
this.sc = 0;
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
this.__v_skip = true;
|
||||
}
|
||||
track(debugInfo) {
|
||||
if (!activeSub || !shouldTrack || activeSub === this.computed) {
|
||||
@@ -1670,11 +1675,11 @@ function watch(source, cb, options = shared.EMPTY_OBJ) {
|
||||
oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue,
|
||||
boundCleanup
|
||||
];
|
||||
oldValue = newValue;
|
||||
call ? call(cb, 3, args) : (
|
||||
// @ts-expect-error
|
||||
cb(...args)
|
||||
);
|
||||
oldValue = newValue;
|
||||
} finally {
|
||||
activeWatcher = currentWatcher;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user