소스 검색

fix: 修复瀑布流示例图片无法展示

kailong321200875 1 년 전
부모
커밋
3477173b76
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/views/Components/Waterfall.vue

+ 2 - 1
src/views/Components/Waterfall.vue

@@ -19,7 +19,8 @@ const getList = () => {
         width,
         height,
         id: toAnyString(),
-        image_uri: Mock.Random.image(`${width}x${height}`)
+        // http更换为https
+        image_uri: Mock.Random.image(`${width}x${height}`).replace('http://', 'https://')
       })
     )
   }