style: 备份文件下载名
This commit is contained in:
@@ -149,7 +149,7 @@ function fnDownloadFile(row: Record<string, any>) {
|
||||
key,
|
||||
duration: 2,
|
||||
});
|
||||
saveAs(res.data, `${row.file_name}`);
|
||||
saveAs(res.data, `${row.fileName}`);
|
||||
} else {
|
||||
message.error({
|
||||
content: `${res.msg}`,
|
||||
@@ -359,10 +359,10 @@ onMounted(() => {
|
||||
<!-- 插槽-卡片左侧侧 -->
|
||||
<template #title>
|
||||
<a-space :size="8" align="center">
|
||||
<a-button type="primary" @click.prevent="fnModalVisibleByEdit()">
|
||||
<!-- <a-button type="primary" @click.prevent="fnModalVisibleByEdit()">
|
||||
<template #icon><FieldTimeOutlined /></template>
|
||||
{{ t('views.configManage.backupManage.setBackupTask') }}
|
||||
</a-button>
|
||||
</a-button> -->
|
||||
</a-space>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user