chore: 更改命名
This commit is contained in:
parent
7d6f70a75a
commit
55ae01c536
@ -128,7 +128,7 @@ async function handleDownload(record: Recordable<any>) {
|
|||||||
const hideLoading = message.loading('下载中...');
|
const hideLoading = message.loading('下载中...');
|
||||||
try {
|
try {
|
||||||
const blob = await batchGenCode(record.tableId);
|
const blob = await batchGenCode(record.tableId);
|
||||||
const filename = `代码生成_${record.tableName}_${new Date().toLocaleString()}.zip`;
|
const filename = `代码生成_${record.tableName}_${dayjs().valueOf()}.zip`;
|
||||||
downloadByData(blob, filename);
|
downloadByData(blob, filename);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
|
Loading…
Reference in New Issue
Block a user