tangning 1 рік тому
батько
коміт
6817544559
1 змінених файлів з 12 додано та 12 видалено
  1. 12 12
      src/views/customer/device.vue

+ 12 - 12
src/views/customer/device.vue

@@ -79,20 +79,20 @@
         },
         {
           title: '设备类型',
-          dataIndex: 'type',
+          dataIndex: 'typeStr',
           ellipsis: false,
           width: 80,
-          customRender: ({ record }) => {
-            let typeObj ={
-              '0':'旧双目相机',
-              '1':'四维看看',
-              '2':'四维看看lite',
-              '9':'四维看见',
-              '10':'四维深时',
-              '13':'四维深光',
-            }
-            return typeObj[record.type]
-          }
+          // customRender: ({ record }) => {
+          //   let typeObj ={
+          //     '0':'旧双目相机',
+          //     '1':'四维看看',
+          //     '2':'四维看看lite',
+          //     '9':'四维看见',
+          //     '10':'四维深时',
+          //     '13':'四维深光',
+          //   }
+          //   return typeObj[record.type]
+          // }
         },
 
         {