mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-04-12 14:40:47 +08:00
fix(progress): indicatorTextColor (#4185)
* fix: 当指标位置inside时,颜色不生效 * chore: changelog * chore: 删除版本号 * fix: indicator-text-color 不生效
This commit is contained in:
parent
e63e4187d0
commit
0c7903aba3
@ -12,6 +12,7 @@
|
||||
|
||||
### Fixes
|
||||
|
||||
- 修复 `indicator-placement` 为 `inside` 时,`indicator-text-color` 不生效的问题
|
||||
- 修复 `n-image` 操作预览图片时报错,关闭 [#4157](https://github.com/tusen-ai/naive-ui/issues/4157)
|
||||
- 修复 `n-tree` 的`cannot access 'mergedFilterRef' before initialization`报错,关闭 [#4134](https://github.com/tusen-ai/naive-ui/issues/4134)
|
||||
- 修复 `n-menu` 无法通过 `dropdown-props` 覆盖子菜单 dropdown 的 `trigger`,关闭 [#4147](https://github.com/tusen-ai/naive-ui/issues/4147)
|
||||
|
@ -134,7 +134,12 @@ export default defineComponent({
|
||||
}}
|
||||
>
|
||||
{indicatorPlacement === 'inside' ? (
|
||||
<div class={`${clsPrefix}-progress-graph-line-indicator`}>
|
||||
<div
|
||||
class={`${clsPrefix}-progress-graph-line-indicator`}
|
||||
style={{
|
||||
color: indicatorTextColor
|
||||
}}
|
||||
>
|
||||
{percentage}
|
||||
{unit}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user