浏览代码

feat(api): device list

gemercheung 3 年之前
父节点
当前提交
2c233e8261
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/views/dashboard/devices/list.vue

+ 6 - 0
src/views/dashboard/devices/list.vue

@@ -154,6 +154,12 @@
         tableSetting: { fullScreen: true },
         showIndexColumn: false,
         rowKey: 'id',
+        fetchSetting: {
+          pageField: 'page',
+          sizeField: 'limit',
+          listField: 'list',
+          totalField: 'totalCount',
+        },
       });
       // pagination.value = { pageSize: 20 };
       function rendercameraTypeLabel(cameraType: number): string {