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
weui-miniprogram/src/components/slideview/slideview.wxs
Line 210 in 5ba58d4
上面应该是 showButtons(ins, ownerInstance, st.duration),应该是showButtons(ins, ownerInstance, st.duration / 1000)
showButtons(ins, ownerInstance, st.duration)
showButtons(ins, ownerInstance, st.duration / 1000)
showButtons中使用的参数 withDuration 的单位是 s,st.duration 的单位是 ms。
下面是正确传参的地方,这里的duration是st.duration/1000计算所得,所以调用正确。
Line 104 in 5ba58d4
The text was updated successfully, but these errors were encountered:
这个组件计算宽度的时候还有一个问题,就是当父组件开启root-portal时,右侧滑块区域宽度直接计算为0了
Sorry, something went wrong.
6de0191
No branches or pull requests
weui-miniprogram/src/components/slideview/slideview.wxs
Line 210 in 5ba58d4
上面应该是
showButtons(ins, ownerInstance, st.duration)
,应该是showButtons(ins, ownerInstance, st.duration / 1000)
showButtons中使用的参数 withDuration 的单位是 s,st.duration 的单位是 ms。
下面是正确传参的地方,这里的duration是st.duration/1000计算所得,所以调用正确。
weui-miniprogram/src/components/slideview/slideview.wxs
Line 104 in 5ba58d4
The text was updated successfully, but these errors were encountered: