test: change model text's priority case (#9170)

This commit is contained in:
krystal 2018-12-12 00:37:39 +08:00 committed by Evan You
parent 6980035a86
commit 984393fed9

View File

@ -238,7 +238,7 @@ describe('Directive v-model text', () => {
template: '<input v-model="a" @input="onInput">',
methods: {
onInput (e) {
spy(e.target.value)
spy(this.a)
}
}
}).$mount()