瀏覽代碼

fix: 41111 、41108

tangning 1 年之前
父節點
當前提交
4f4e318117
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      src/views/devices/list.vue

+ 4 - 2
src/views/devices/list.vue

@@ -110,7 +110,9 @@
           title: t('routes.devices.capacity'),
           dataIndex: 'totalSpace',
           customRender: ({ record }) => {
-            return record.totalSpace == 0
+            return record.cameraType == 1 || record.cameraType == 6
+              ? '-'
+              : record.totalSpace == 0
               ? record.usedSpaceStr
               : `${record.usedSpaceStr}/${record.totalSpaceStr}`;
           },
@@ -185,7 +187,7 @@
       };
       // { getForm }
       const [registerTable, { reload }] = useTable({
-        title: t('routes.devices.deviceList'),
+        title: t('routes.dashboard.devices'),
         api: ListApi,
         columns: columns,
         useSearchForm: true,