fix(reactivity): revert ac81dcf

fix #2043
This commit is contained in:
Evan You 2020-09-04 11:08:53 -04:00
parent fa7ab0a7f7
commit 5f4053967c

View File

@ -178,11 +178,7 @@ export function trigger(
const effects = new Set<ReactiveEffect>()
const add = (effectsToAdd: Set<ReactiveEffect> | undefined) => {
if (effectsToAdd) {
effectsToAdd.forEach(effect => {
if (effect !== activeEffect) {
effects.add(effect)
}
})
effectsToAdd.forEach(effect => effects.add(effect))
}
}