浏览代码

perf(views): 优化"设备管理"列表分页样式异常问题

wangshun 1 月之前
父节点
当前提交
a3a821c41e
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/views/device-list/DeviceList.vue

+ 3 - 2
src/views/device-list/DeviceList.vue

@@ -313,7 +313,7 @@ onMounted(() => {
             </template>
 
             <template v-if="column.key === 'snCode'">
-              {{ record.gatewayInfos ? record.gatewayInfos[0].snCode : '' }}
+              {{ record.gatewayInfos.length > 0 ? record.gatewayInfos[0].snCode : '' }}
             </template>
           </template>
         </ATable>
@@ -451,7 +451,8 @@ onMounted(() => {
 
   .ant-pagination-item-link {
     color: #666;
-    border: 1px solid #d6d6d6;
+
+    // border: 1px solid #d6d6d6;
   }
 
   .ant-pagination-total-text {