d***@163.com
d***@163.com
  • 发布:2023-03-24 10:36
  • 更新:2023-03-24 10:42
  • 阅读:141

chooseimage真机上无法回显

分类:uni-app

<image :src="item">
that[array] = that[array].concat(res.tempFilePaths)
that.$forceUpdate();
这样可以回显到V-for循环出来的image

<image :src="sampleArray[0]">
that.sampleArray[index] = res.tempFilePaths[0]
that.$forceUpdate();
这样不能回显图片

2023-03-24 10:36 负责人:无 分享
已邀请:
d***@163.com

d***@163.com (作者)

that[array] = that[array].concat(res.tempFilePaths)
that.$forceUpdate();
这样可以回显到V-for循环出来的image :src="array.item"

that.sampleArray[index] = res.tempFilePaths[0]
that.$forceUpdate();
这样不能回显图片image :src="sample[0]"

要回复问题请先登录注册