mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 15:40:52 +00:00
[Improment] improve Tab sticky fluency (#388)
This commit is contained in:
@@ -125,7 +125,7 @@ describe('Tabs', () => {
|
||||
wrapper.vm.sticky = false;
|
||||
|
||||
setTimeout(() => {
|
||||
expect(wrapper.vm.$children[0].fixed).to.be.false;
|
||||
expect(wrapper.vm.$children[0].position).to.equal('content-top');
|
||||
done();
|
||||
}, 30);
|
||||
});
|
||||
|
Reference in New Issue
Block a user