Explorar el Código

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

kailong321200875 hace 1 año
padre
commit
3477173b76
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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://')
       })
     )
   }