Skip to content
New issue

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

[bug]升级到最新版本1.2.2之后出现样式问题 #8

Closed
kagol opened this issue Oct 20, 2021 · 1 comment
Closed

[bug]升级到最新版本1.2.2之后出现样式问题 #8

kagol opened this issue Oct 20, 2021 · 1 comment

Comments

@kagol
Copy link

kagol commented Oct 20, 2021

升级到1.2.2版本之后出现以下样式问题:
image

@kagol
Copy link
Author

kagol commented Oct 20, 2021

@xinlei3166
Demo.vue文件里的这行代码应该要减去两边的border

control.value.style.width = `${demoBlock.value.offsetWidth}px`

->

control.value.style.width = `${demoBlock.value.offsetWidth - 2}px`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant