fix bug
This commit is contained in:
@@ -10125,10 +10125,14 @@ export default {
|
||||
downloadFileByUrl(url, this.attachmentName(row));
|
||||
},
|
||||
handleBatchDownload() {
|
||||
const rows = this.selectedAttachmentRows.length
|
||||
? this.selectedAttachmentRows
|
||||
: this.attachmentRows;
|
||||
rows.forEach(row => this.downloadAttachment(row));
|
||||
const rows = this.isShippingTemplatePage
|
||||
? this.attachmentRows
|
||||
: this.selectedAttachmentRows.length
|
||||
? this.selectedAttachmentRows
|
||||
: this.attachmentRows;
|
||||
rows.forEach((row, index) => {
|
||||
window.setTimeout(() => this.downloadAttachment(row), index * 200);
|
||||
});
|
||||
},
|
||||
handleDispatchItemAttachmentChange(list) {
|
||||
const userName = this.userInfo?.realName || this.userInfo?.userName || '';
|
||||
|
||||
Reference in New Issue
Block a user