Repository navigation
安卓手机(小米) 系统浏览器,使用Uploader组件上传多张图片时,页面会自动刷新 #11427
Unanswered
shown-zhang
asked this question in
Q&A
Replies: 1 comment 3 replies
|
换了种写法依然如此,偶现。。。 async afterRead(file: any) {
const files = Array.isArray(file) ? file : [file];
files.forEach((item: any) => {
item.status = 'uploading';
});
for (let item of files) {
const data = await this.upload(item);
if (data.url) {
item.status = '';
item.message = '';
item.key = data.key;
this.updateUploadList([...this.uploadList, data]);
} else {
item.status = 'failed';
item.message = '上传失败';
}
}
} |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
如题,安卓手机(小米) 系统浏览器,使用Uploader (v2.12.53) 组件上传多张图片时,页面会自动刷新
All reactions