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

u-sticky的offset属性值为响应式数据时失效 #237

Open
charlie-shaw opened this issue Dec 11, 2023 · 0 comments
Open

u-sticky的offset属性值为响应式数据时失效 #237

charlie-shaw opened this issue Dec 11, 2023 · 0 comments

Comments

@charlie-shaw
Copy link

当我在使用u-sticky时,给offset属性传递了一个响应式数据const top = ref(0),当我在onMounted中试图修改 top.value = 60时,top的值失效,会被设置组件内的默认值0px

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