提交修改

This commit is contained in:
zlwu committed 2025-08-03 17:38:03 +08:00
1 parent 1e361a44ca
commit ac8a58386c
10 files changed
+765 -33

No files matched your search

@@ -44,7 +44,7 @@
<el-table-column prop="originalName" width="202" :show-overflow-tooltip="true" label="附件名称"></el-table-column>
<el-table-column prop="name" width="80" align="center" :show-overflow-tooltip="true" label="操作">
<template #default="tool">
<el-button type="text" @click="handleDownload(tool.row.ossId)">下载</el-button>
<el-button type="text" @click="handleDownload(tool.row.ossId, tool.row.originalName)">下载</el-button>
</template>
</el-table-column>
</el-table>
@@ -106,8 +106,9 @@ const getIds = async (ids: string | number) => {
};
/** 下载按钮操作 */
const handleDownload = (ossId: string) => {
proxy?.$download.oss(ossId);
const handleDownload = (ossId: string, originalName: string) => {
console.log(ossId);
proxy?.$download.secureOss(ossId, originalName);
};
/**