diff --git a/lib/util/taobao/taobao_loader.dart b/lib/util/taobao/taobao_loader.dart index a318a33..33e5dc7 100644 --- a/lib/util/taobao/taobao_loader.dart +++ b/lib/util/taobao/taobao_loader.dart @@ -125,7 +125,11 @@ class TaobaoLoader { List mPicList = []; for (String pic in Images) { if (pic.isNotEmpty) { - mPicList.add("https:" + pic); + if (pic.startsWith("http")) { + mPicList.add(pic); + } else { + mPicList.add("https:" + pic); + } } } Logger.log("mPicList图片:" + mPicList.length.toString() + "\n" + mPicList.toString()); @@ -148,7 +152,11 @@ class TaobaoLoader { if (pic2.length > 0) { for (String s in pic2) { if (s.isNotEmpty) { - mPicList.add("https:" + s); + if (s.startsWith("http")) { + mPicList.add(s); + } else { + mPicList.add("https:" + s); + } } } }