文件信息异常禁用下载按钮

This commit is contained in:
zhujiyan
2024-09-12 11:35:26 +08:00
parent 1a023afacb
commit 5e847decc3

View File

@@ -23,7 +23,7 @@
<template #footer> <template #footer>
<div class="dialog-footer"> <div class="dialog-footer">
<el-button @click="handleClose">取消</el-button> <el-button @click="handleClose">取消</el-button>
<el-button type="primary" @click="handleDownLoad" :loading="downLoading"> <el-button type="primary" @click="handleDownLoad" :disabled="loading" :loading="downLoading">
{{ downLoading ? '下载中...' : '下载' }} {{ downLoading ? '下载中...' : '下载' }}
</el-button> </el-button>
</div> </div>