wip: pass attrs fallthrough tests

This commit is contained in:
Evan You
2019-08-22 22:07:51 -04:00
parent 7fae3ebaf3
commit daf67397ae
5 changed files with 191 additions and 155 deletions

View File

@@ -1,6 +1,6 @@
import { OperationTypes } from './operations'
import { Dep, targetMap } from './reactive'
import { EMPTY_OBJ } from '@vue/shared'
import { EMPTY_OBJ, extend } from '@vue/shared'
export interface ReactiveEffect {
(): any
@@ -203,7 +203,7 @@ function scheduleRun(
) {
if (__DEV__ && effect.onTrigger) {
effect.onTrigger(
Object.assign(
extend(
{
effect,
target,