Browse Source

消除展开

李富豪 1 year ago
parent
commit
06ba1eb150
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Web/src/components/devices/deviceList/index.vue

+ 1 - 1
Web/src/components/devices/deviceList/index.vue

@@ -3,7 +3,7 @@
     <Search :selectedRowKeys="state.selectedRowKeys" :onClickDelete="onClickBatchDelete" :onClickSearch="onClickSearch"
       :onClickReset="onClickReset" />
     <div class="deviceList-table">
-      <a-table :scroll="{ x: '100%', y: 500 }"  rowKey="device_sn"
+      <a-table :scroll="{ x: '100%', y: 500 }"  childrenColumnName="null" rowKey="device_sn"
         :loading="state.listLoading" :columns="columns" :dataSource="state.list" @change="refreshData"
         :rowClassName="rowClassName" :pagination="paginationConfig" :rowSelection="rowSelection">
         <!-- 设备型号 -->