百分比

This commit is contained in:
gaoyuanwei 2022-06-19 18:28:59 +08:00
parent 15ce5fe9fc
commit 91e9d2649e
1 changed files with 2 additions and 2 deletions

View File

@ -135,14 +135,14 @@
resourcesLeft.value[1].num = contentData.value.requestCount || '0'
//
resourcesLeft.value[2].num =
contentData.value.satisfactionRate + '%' || '0' + '%'
contentData.value.satisfactionRate * 100 + '%' || '0' + '%'
//
for (let i = 1; i < 6; i++) {
// TOP
assignRankings.value[i - 1].index = i
//
assignRankings.value[i - 1].name =
contentData.value.resourceTop5[i - 1].service_name || 'wowoow'
contentData.value.resourceTop5[i - 1].service_name || ''
assignRankings.value[i - 1].opacity =
contentData.value.resourceTop5[i - 1].count || ' '
}