This commit is contained in:
parent
c55c092e8f
commit
1f15187e10
|
|
@ -774,8 +774,8 @@ export function DetailPageHeader({ data }: { data: any }) {
|
|||
|
||||
{/* 蓝色进度条 */}
|
||||
<div
|
||||
className={`transition-all duration-300 h-full rounded ${progressBarColor}`}
|
||||
style={{ width: progress }}
|
||||
className={`${progressBarColor} h-full transition-all duration-300 rounded`}
|
||||
style={{ width: typeof progress === "string" ? progress : `${progress}%` }}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue