mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore(Field): remove log (#7104)
This commit is contained in:
parent
7c3549ad55
commit
d0e6bd3c16
@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -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();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user