Commit 0c9bff78 by qinjianhui

fix: 无 url 时禁用下载按钮

parent a2ada6f7
...@@ -114,7 +114,9 @@ ...@@ -114,7 +114,9 @@
</template> </template>
<template #operate="{ row }"> <template #operate="{ row }">
<ElButton <ElButton
type="primary" :disabled="
(!row.url && !row.tiffUrl) || row.enableArrange === false
"
link link
size="small" size="small"
@click="handleDownload(row)" @click="handleDownload(row)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment