Преглед изворни кода

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: '雷达',