Przeglądaj źródła

fix number update spec in ie9

Evan You 9 lat temu
rodzic
commit
850fb9fbcb
1 zmienionych plików z 2 dodań i 2 usunięć
  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)