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

用这个还需要装countup.js吗 #7

Open
dhj99116 opened this issue Jun 5, 2023 · 4 comments
Open

用这个还需要装countup.js吗 #7

dhj99116 opened this issue Jun 5, 2023 · 4 comments
Labels
done Extra attention is needed usage Further information is requested

Comments

@dhj99116
Copy link

dhj99116 commented Jun 5, 2023

我也是vite+vue3项目
然后之前安装countup.js 安装完启动项目控制台报countup.js 504之类的,项目不能正常启动,您有遇到过吗

@jizai1125
Copy link
Owner

jizai1125 commented Jun 5, 2023

不需要装 countup.js,报错能给个复现么

@jizai1125 jizai1125 added the usage Further information is requested label Jun 5, 2023
@dhj99116
Copy link
Author

dhj99116 commented Jun 5, 2023

因为我的数值是请求出来的。所以我想等请求完在进行数值滚动,能问一下怎么设置吗?

@jizai1125
Copy link
Owner

jizai1125 commented Jun 5, 2023

因为我的数值是请求出来的。所以我想等请求完在进行数值滚动,能问一下怎么设置吗?

结束值 end-val 绑定响应式变量就行
https://codesandbox.io/s/immutable-fire-uqdpwi?file=/src/App.vue

@dhj99116
Copy link
Author

dhj99116 commented Jun 5, 2023

谢谢

@jizai1125 jizai1125 added the done Extra attention is needed label Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done Extra attention is needed usage Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants