소스 검색

feat: 设备详情雷达展示过滤;

liujia 1 개월 전
부모
커밋
1febd49
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/views/device/detail/index.vue

+ 1 - 0
src/views/device/detail/index.vue

@@ -481,6 +481,7 @@ const fetchDeviceDetail = async () => {
         [0, 0]
       )
 
+    furnitureItems.value = furnitureItems.value.filter((item) => item.type !== 'radar')
     // 添加雷达图标
     furnitureItems.value.unshift({
       name: '雷达',