[Improment] improve Tab sticky fluency (#388)

This commit is contained in:
neverland
2017-12-07 11:52:55 +08:00
committed by GitHub
parent c2dddeb552
commit 1a0f73b12e
5 changed files with 58 additions and 26 deletions

View File

@@ -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);
});