2024年7月12日 新增禁止下载

This commit is contained in:
bai 2024-07-12 23:30:06 +08:00
parent 241fa1525a
commit b937018241
2 changed files with 14 additions and 0 deletions

View File

@ -218,6 +218,13 @@ const $message = useMessage();
// onClick: handleEdit.bind(null, record),
// },
{
ifShow: !!record.filePath,
label: '下载报告',
onClick: downloadFile.bind(null, record.filePath),
},
{
ifShow: !record.filePath,
disabled: true,
label: '下载报告',
onClick: downloadFile.bind(null, record.filePath),
},

View File

@ -218,6 +218,13 @@ const $message = useMessage();
// onClick: handleEdit.bind(null, record),
// },
{
ifShow: !!record.filePath,
label: '下载报告',
onClick: downloadFile.bind(null, record.filePath),
},
{
ifShow: !record.filePath,
disabled: true,
label: '下载报告',
onClick: downloadFile.bind(null, record.filePath),
},