--1kb=1024b--> <van-uploader :after-read="afterUploader" :max-size="1024 * 1024" icon="plus" type="primary" v-model="uploadFileList" :max-count="1" :before-delete="beforeDelete" ></van-uploader> <!--<van-uploader :after-read="afterUploader" :max-size="1024 * 1024" icon="...
v-model="fileList" :multiple="true" :before-read="beforeRead" :after-read="afterRead" :before-delete="delUploadImg" upload-icon="plus" > <!-- 注:这里是自定义上传样式 --> <!-- <van-icon name="plus" color="#07c160" size=".5rem" /> 上传照片 --> </van-uploader> </temp...
<van-uploader preview-size="300px"style="width:300px;display:block;margin:20px auto;"v-model="fileList":after-read="uploadact"@delete="delPic":preview-full-image="false":max-count="1"upload-text="点击上传⾝份证正⾯照⽚"capture="camera"/> js代码 uploadact(file){ var arr = file...