if (!files.type || !files.name.split('.')[1]) {
files = new File(
[files],
new Date().getTime() + (Math.random() * 10000000).toFixed(0) + ".jpg", {
type: "image/jpeg"
})
}
node_modules\vant\es\uploader\index.js
onchange方法中
node_modules下的vant包