修改进度条

This commit is contained in:
GGJ
2024-05-22 17:19:22 +08:00
parent 7768bb3e67
commit b391b54838

View File

@@ -138,7 +138,7 @@
<div :style="EchHeight" class="harmonic mt5">
<div class="progress" v-for="item in WTList">
<span class="text">{{ item.orgName }}</span>
<el-progress :percentage="item.count" />
<el-progress :percentage="item.count" :format="format" />
</div>
</div>
</div>
@@ -354,6 +354,8 @@ const transientChange = () => {
WTList.value = data
})
}
const format = (percentage: any) => Math.round(percentage * mun.value) / 100 + '条'
defineExpose({ info, show })
</script>