Explorar o código

feat(api): device list

gemercheung %!s(int64=4) %!d(string=hai) anos
pai
achega
2c233e8261
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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 {