feat: 压缩改为tar.gz
This commit is contained in:
@@ -109,7 +109,7 @@ async function onDownload() {
|
|||||||
const fileName = `${formData.value.fileUrl?.slice(
|
const fileName = `${formData.value.fileUrl?.slice(
|
||||||
Math.max(0, formData.value.fileUrl.lastIndexOf('/') + 1),
|
Math.max(0, formData.value.fileUrl.lastIndexOf('/') + 1),
|
||||||
formData.value.fileUrl.lastIndexOf('_'),
|
formData.value.fileUrl.lastIndexOf('_'),
|
||||||
)}.tar`;
|
)}.tar.gz`;
|
||||||
|
|
||||||
const hideLoading = message.loading({
|
const hideLoading = message.loading({
|
||||||
content: '下载中...',
|
content: '下载中...',
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ async function onDownload(row: LicenseApi.License) {
|
|||||||
const fileName = `${row.fileUrl?.slice(
|
const fileName = `${row.fileUrl?.slice(
|
||||||
Math.max(0, row.fileUrl.lastIndexOf('/') + 1),
|
Math.max(0, row.fileUrl.lastIndexOf('/') + 1),
|
||||||
row.fileUrl.lastIndexOf('_'),
|
row.fileUrl.lastIndexOf('_'),
|
||||||
)}.tar`;
|
)}.tar.gz`;
|
||||||
|
|
||||||
const hideLoading = message.loading({
|
const hideLoading = message.loading({
|
||||||
content: '下载中...',
|
content: '下载中...',
|
||||||
|
|||||||
Reference in New Issue
Block a user