Skip to content

Commit 45fe042

Browse files
dejourhefeng
authored andcommitted
test: change model text's priority case (vuejs#9170)
1 parent ef12e06 commit 45fe042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/features/directives/model-text.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ describe('Directive v-model text', () => {
238238
template: '<input v-model="a" @input="onInput">',
239239
methods: {
240240
onInput (e) {
241-
spy(e.target.value)
241+
spy(this.a)
242242
}
243243
}
244244
}).$mount()

0 commit comments

Comments
 (0)