fix: 增加柱状体的极限百分比

master
xjs 2025-06-06 17:55:36 +08:00
parent 78322d65cd
commit 6abea9dffe
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@
const setChargePercentageByPath = (percent: number) => {
// 55 121
if(percent > 100) {
percent = 100;
}
// y="85" height="30"
const pw1 = document.querySelector("g rect#pw1");