Explorar el Código

fix number update spec in ie9

Evan You hace 9 años
padre
commit
850fb9fbcb
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      test/unit/features/directives/model-text.spec.js

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

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