view uni-segmented-control current=current values=items clickItem=onClickItem styleType=text activeColor=#007affuni-segmented-control view class=content view v-show=current === 0 uni-gro
在select方法中,将获取到的文件信息e.tempFiles赋值给item.attachmentList即可。修改代码如下:
select(e) {
item.attachmentList = e.tempFiles;
}
原文地址: https://www.cveoy.top/t/topic/hAvv 著作权归作者所有。请勿转载和采集!