We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
多测次数,发现width不断叠加了,10000px有时叠到5W多,left的算法也不准. 我根据自己的将其改成了 this.total=this.lengththis.size; css[this.direction?'top':'left']=-this.currentthis.size+'px'; 始终保持宽度和一直居中了
The text was updated successfully, but these errors were encountered:
修改后能正常工作就好。 计算不准确,我猜测可能是css这边定义又一些关系?总之,可以使用了就好。 感谢反馈
Sorry, something went wrong.
No branches or pull requests
多测次数,发现width不断叠加了,10000px有时叠到5W多,left的算法也不准.
我根据自己的将其改成了
this.total=this.lengththis.size;
css[this.direction?'top':'left']=-this.currentthis.size+'px';
始终保持宽度和一直居中了
The text was updated successfully, but these errors were encountered: