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) {
|
if (effectsToAdd !== void 0) {
|
||||||
effectsToAdd.forEach(effect => {
|
effectsToAdd.forEach(effect => {
|
||||||
if (effect !== activeEffect) {
|
if (effect !== activeEffect || !shouldTrack) {
|
||||||
if (effect.options.computed) {
|
if (effect.options.computed) {
|
||||||
computedRunners.add(effect)
|
computedRunners.add(effect)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user