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 },
         tableSetting: { fullScreen: true },
         showIndexColumn: false,
         showIndexColumn: false,
         rowKey: 'id',
         rowKey: 'id',
+        fetchSetting: {
+          pageField: 'page',
+          sizeField: 'limit',
+          listField: 'list',
+          totalField: 'totalCount',
+        },
       });
       });
       // pagination.value = { pageSize: 20 };
       // pagination.value = { pageSize: 20 };
       function rendercameraTypeLabel(cameraType: number): string {
       function rendercameraTypeLabel(cameraType: number): string {