mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 19:35:50 +00:00
fix: 修复统一打包下载命名
This commit is contained in:
parent
9772e4b48a
commit
fa149fcaa9
@ -1507,7 +1507,7 @@ export default {
|
||||
const allFolder = !ids.some(id => this.fileLists.some(({ type, id: itemId }) => type !== 'folder' && itemId === id));
|
||||
const typeName = allFolder ? "文件夹" : "文件";
|
||||
const fileName = ids.length === 1 ? `【${firstFile.name}】${typeName}` : `【${firstFile.name}】等${ids.length}个${typeName}`;
|
||||
const filePackName = ids.length === 1 ? `${firstFile.name}_${$A.formatDate("YmdHis")}.zip` : `file_${$A.formatDate("YmdHis")}.zip`;
|
||||
const filePackName = `file_${$A.formatDate("YmdHis")}.zip`;
|
||||
|
||||
$A.modalConfirm({
|
||||
title: '打包下载',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user