-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
Closed as not planned
Description
What problem does this feature solve?
图片大小约5MB
上传时间超过30秒
其他地方测试过上传URL,同样文件几乎瞬间上传完毕。
Uploader可能再读取文件方面,影响了速度?
长传URL的前后全部输出日志,确定只在上传环节影响了速度。
又是本地开发,而上传URL以及网速都用同样文件确认过,没有问题。
What does the proposed API look like?
<van-field
name="identification_file_uploader"
:label="文件上传"
>
<template #input>
<van-uploader
v-model="formData.identification_file_uploader"
:max-count="2"
accept=".jpg,.jpeg,.png,.pdf,.heic,.heif,image/*,application/pdf"
result-type="file"
/>
</template>
</van-field>