ソースを参照

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