chore(Field): remove log (#7104)

This commit is contained in:
neverland 2020-09-05 06:29:27 +08:00 committed by GitHub
parent 7c3549ad55
commit d0e6bd3c16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -169,7 +169,6 @@ export default createComponent({
}); });
if (this.scrollToError) { if (this.scrollToError) {
console.log('scrollToField', errors[0].name);
this.scrollToField(errors[0].name); this.scrollToField(errors[0].name);
} }
}); });

View File

@ -45,7 +45,7 @@ test('replay event', async () => {
}); });
wrapper.find('.van-notice-bar__content').trigger('transitionend'); wrapper.find('.van-notice-bar__content').trigger('transitionend');
await later(50); await later(80);
expect(wrapper.emitted('replay')).toBeTruthy(); expect(wrapper.emitted('replay')).toBeTruthy();
}); });