Просмотр исходного кода

Merge branch 'all-v4-bxy' into 'all-v4'

feat: 修改违规问题详情页图片视频展示顺序

See merge request skyeye/skyeye_frontend/skyeye-admin!371
孙宏耀 1 год назад
Родитель
Сommit
808c4747fc

+ 1 - 1
src/views/datamanager/alertformdata/components/common/SwiperThumbsGallery.vue

@@ -65,7 +65,7 @@
   const fileList = computed(() => {
     const images = detailPictures.value.map((url) => ({ type: 'image', url }));
     const videos = detailVideos.value.map((url) => ({ type: 'video', url, poster: ref('') }));
-    return [...videos, ...images];
+    return [...images, ...videos];
   });
 
   const thumbsSwiper = ref(null);