快乐的昕的电脑
2025-12-03 9138a30122a32c57f24acceae59fe423d9e04b57
只有第一行显示 currentCjNum
已修改1个文件
12 ■■■■ 文件已修改
components/mold.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
components/mold.vue
@@ -106,9 +106,15 @@
                        <td>{{ item.upTime }}</td>
                        <td class="num">{{ item.upCount != null ? item.upCount : '' }}</td>
                        <td>{{ item.downTime }}</td>
                        <!--<td class="num">{{ item.downCount != null ? item.downCount : '' }}</td>-->
                        <!-- 下刀计数改为实时显示 currentCjNum -->
                        <td class="num">{{ item.currentCjNum != null ? item.currentCjNum : '' }}</td>
                        <!-- 只有第一行显示 currentCjNum,其它行显示 downCount -->
                        <td class="num">
                            <template v-if="idx === 0">
                                {{ item.currentCjNum != null ? item.currentCjNum : '' }}
                            </template>
                            <template v-else>
                                {{ item.downCount != null ? item.downCount : '' }}
                            </template>
                        </td>
                        <td class="num">{{ item.useCount != null ? item.useCount : '' }}</td>
                        <td class="num">{{ item.useLimit != null ? item.useLimit : '' }}</td>
                        <td class="num">{{ item.lifePercent }}</td>