refactor:correct bad spelling of 'android'

This commit is contained in:
Arthur Wang 2017-10-08 22:28:28 +08:00
parent 64ec6ce5ac
commit 7619050802
3 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ import Icon from '../icon';
import Field from '../field';
import Cell from '../cell';
import CellGroup from '../cell-group';
import isAndroid from '../utils/env/is-andriod';
import isAndroid from '../utils/env/is-android';
export default {
name: 'van-address-edit-detail',

View File

@ -268,7 +268,7 @@ describe('AddressEdit', () => {
}
});
wrapper.vm.isAndriod = false;
wrapper.vm.isAndroid = false;
wrapper.find('.van-field__control')[2].trigger('focus');
wrapper.vm.$nextTick(() => {
@ -280,7 +280,7 @@ describe('AddressEdit', () => {
});
});
it('finish edit address detail in andriod', done => {
it('finish edit address detail in android', done => {
wrapper = mount(AddressDetail, {
propsData: {
value: '123'