|
@ -72,8 +72,8 @@ describe('Directive v-model text', () => { |
|
|
}, |
|
|
}, |
|
|
template: |
|
|
template: |
|
|
'<div>' + |
|
|
'<div>' + |
|
|
'<input ref="input" v-model="test" type="number">{{ update }}' + |
|
|
'<input ref="input" v-model.number="test">{{ update }}' + |
|
|
'<input ref="blur"/>' + |
|
|
'<input ref="blur">' + |
|
|
'</div>' |
|
|
'</div>' |
|
|
}).$mount() |
|
|
}).$mount() |
|
|
document.body.appendChild(vm.$el) |
|
|
document.body.appendChild(vm.$el) |
|
|