- 在 competitor-monitor、product-list 和 product-monitor 组件中,对数据表格中的空值进行优化处理 - 提升用户体验
@@ -198,7 +198,7 @@ function starsPercent(goods: any) {
</div>
<div v-else>
- {{ row.goods[field] }}
+ {{ row.goods[field] || '-' }}
</template>
@@ -105,7 +105,7 @@ function handleMonitor() {
- {{ row[field] }}
+ {{ row[field] || '-' }}
@@ -165,7 +165,7 @@ function onConfirm() {