Переглянути джерело

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

liujia 1 місяць тому
батько
коміт
1febd49073
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: '雷达',