feat 优化代码

This commit is contained in:
Ironsp
2026-06-23 11:30:07 +08:00
parent a248e3b234
commit 7d2c70a19f
2 changed files with 2 additions and 5 deletions

View File

@@ -76,7 +76,8 @@
<el-tag v-if="scope.row.batteryLevel2" :style="scope.row.batteryLevel1 && scope.row.batteryLevel2 ? 'margin-left: 10px' : ''">
{{ scope.row.batteryLevel2 + '%' }}
</el-tag>
<el-tag v-else type="info"> 未获取 </el-tag>
<!-- <el-tag v-else type="info"> 未获取 </el-tag> -->
<el-tag v-if="!scope.row.batteryLevel1 && !scope.row.batteryLevel2"> 未获取 </el-tag>
</template>
</el-table-column>
<el-table-column label="设备型号" align="center" prop="model" />