Skip to content

Commit

Permalink
fix(progress): 修复进度条自定义内容无动画问题 (jd-opensource#2120)
Browse files Browse the repository at this point in the history
  • Loading branch information
daofeng-1998 authored Feb 17, 2023
1 parent 073f96b commit 55ad608
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/packages/__VUE/progress/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
position: `absolute`,
top: `50%`,
left: `${percentage}%`,
transform: `translate(-${+percentage}%,-50%)`
transform: `translate(-${+percentage}%,-50%)`,
transition: 'all 0.4s'
}"
v-if="showText && textInside && slotDefault"
>
Expand Down

0 comments on commit 55ad608

Please sign in to comment.