fix(reactivity): allow effect trigger inside no-track execution contexts
fix #804
This commit is contained in:
parent
d6bf9ffdc6
commit
274f81c5db
@ -231,7 +231,7 @@ function addRunners(
|
||||
) {
|
||||
if (effectsToAdd !== void 0) {
|
||||
effectsToAdd.forEach(effect => {
|
||||
if (effect !== activeEffect) {
|
||||
if (effect !== activeEffect || !shouldTrack) {
|
||||
if (effect.options.computed) {
|
||||
computedRunners.add(effect)
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user