fix: 恢复npm页app评分图的voip项和图的点击下钻功能

This commit is contained in:
chenjinsong
2023-09-26 19:29:42 +08:00
parent 4a5380a651
commit ceb9a10293
2 changed files with 3 additions and 4 deletions

View File

@@ -109,6 +109,7 @@
font-size: 12px;
color: #353636;
font-weight: 400;
cursor: pointer;
}
.data-score {
border-radius: 10px;

View File

@@ -33,7 +33,7 @@
<div class="data-total">
<template v-if="item.prop === 'category'">
<span class="data-total-category-icon"><i :class="scope.row.icon"></i></span>
<span class="data-total-category-value">{{$t(scope.row.i18n)}}</span>
<span class="data-total-category-value" @click="drillDownData(scope.row.i18n)">{{$t(scope.row.i18n)}}</span>
</template>
<template v-else-if="item.prop === 'total'">
<div class="data-total-value">{{valueToRangeValue(scope.row.totalBitsRate, unitTypes.bps).join(' ')}}</div>
@@ -260,9 +260,7 @@ export default {
}
t.score = computeScore(data)
})
// this.tableData = tableData
// todo 当前版本voip没数据暂时隐藏后续记得删除该段
this.tableData = tableData.filter(item => item.appSubcategory !== 'voip-video')
this.tableData = tableData
}).finally(() => {
this.toggleLoading(false)
})