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

进度条的内容format不支持标签,也没有slot,无法控制文本多行样式(单行可以) #1348

Closed
1 task
WuYiZhan opened this issue Oct 28, 2019 · 6 comments
Labels
Accept You are right, we should do that Feature Request outdated

Comments

@WuYiZhan
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.4.2

Environment

浏览器

Reproduction link

https://github.com/vueComponent/ant-design-vue/issues

Steps to reproduce

希望可以增加控制进度条文本功能

What is expected?

希望可以增加控制进度条文本功能

What is actually happening?

希望可以增加控制进度条文本功能

@tangjinzhou tangjinzhou added Accept You are right, we should do that Feature Request labels Oct 30, 2019
@ly12530
Copy link

ly12530 commented Nov 4, 2019

我试试了试这个功能,没效果。版本 1.4.4

@tangjinzhou
Copy link
Member

@ly12530
Copy link

ly12530 commented Nov 4, 2019

我想要自定义颜色。我把这个例子代码复制过去的 颜色没变化
image
<a-progress type="circle" :percent="75"> <template v-slot:format="percent"> <span style="color: red">{{percent}}</span> </template> </a-progress>

@tangjinzhou
Copy link
Member

确认版本号 ant-design-vue 需要 1.4.4 ,v-slot需要vue 2.6以上支持 @ly12530

@ly12530
Copy link

ly12530 commented Nov 5, 2019

谢谢 解决了。vue版本升级了 就可以了

@github-actions
Copy link

github-actions bot commented Nov 5, 2020

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Accept You are right, we should do that Feature Request outdated
Projects
None yet
Development

No branches or pull requests

3 participants