mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-27 09:13:22 +08:00
update: target _self
This commit is contained in:
@@ -156,7 +156,7 @@ async function handleDownload(row: OssFile) {
|
|||||||
|
|
||||||
const downloadLink = `${apiURL}/resource/oss/download/${row.ossId}?${stringify(params)}`;
|
const downloadLink = `${apiURL}/resource/oss/download/${row.ossId}?${stringify(params)}`;
|
||||||
// fileName不设置也行 默认会取header里的名称
|
// fileName不设置也行 默认会取header里的名称
|
||||||
downloadByUrl({ fileName: row.fileName, url: downloadLink });
|
downloadByUrl({ fileName: row.fileName, url: downloadLink, target: '_self' });
|
||||||
}
|
}
|
||||||
|
|
||||||
async function handleDelete(row: OssFile) {
|
async function handleDelete(row: OssFile) {
|
||||||
|
|||||||
Reference in New Issue
Block a user