Browse Source

预览图片类型补充

wyx
fp 1 month ago
parent
commit
c40d633a40
  1. 2
      pages/tabBar/xjPage/xjRecord.vue

2
pages/tabBar/xjPage/xjRecord.vue

@ -158,7 +158,7 @@ export default {
handlePreviewImage(list, index) { handlePreviewImage(list, index) {
const filePaths = list const filePaths = list
.filter((item) => item.format == "image") .filter((item) => item.format == "image/jpeg")
.map((item) => item.url); .map((item) => item.url);
uni.previewImage({ uni.previewImage({
urls: filePaths, urls: filePaths,

Loading…
Cancel
Save