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
我在使用v-for来渲染多个进度条的时候需要根据当前数据来确定进度条的文字,而:format只能传不带参数的获取文字的方法
<tiny-progress :stroke-width="18" :percentage="getProgressPercentage(submission.verdict)" :color="progressColors" :text-inside="true" :show-text="true" :format="getProgressText(submission.verdict)" />
比如这里,就无法渲染自定义文字了
希望format这个props的方法允许传参数
KOJ
The text was updated successfully, but these errors were encountered:
MomoPoppy
No branches or pull requests
What problem does this feature solve
我在使用v-for来渲染多个进度条的时候需要根据当前数据来确定进度条的文字,而:format只能传不带参数的获取文字的方法
比如这里,就无法渲染自定义文字了
What does the proposed API look like
希望format这个props的方法允许传参数
What is your project name
KOJ
The text was updated successfully, but these errors were encountered: