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

[Feature Request] van-progress的pivot能否添加自定义插槽内容 #13401

Open
think-of-xiao opened this issue Mar 20, 2025 · 0 comments
Open

Comments

@think-of-xiao
Copy link

这个功能解决了什么问题?

在pivot中内容不只局限于文本时,van-progress无法满足需求

你期望的 API 是什么样子的?

<van-progress> <template #pivot> <div class="custom-pivot"> <van-icon name="fire" /> <span>{{ percentage }}%</span> </div> </template> </van-progress>

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

No branches or pull requests

1 participant