提交 ca01fc59 authored 作者: matian's avatar matian

update:导出限制

上级 08224878
...@@ -55,7 +55,9 @@ ...@@ -55,7 +55,9 @@
</template> </template>
<template #footer> <template #footer>
<span>已选择{{ multipleSelection.length }}</span> <span>已选择{{ multipleSelection.length }}</span>
<el-button @click="exportSelect" style="margin-left: 40px">导出</el-button> <el-button @click="exportSelect" style="margin-left: 40px" :disabled="multipleSelection.length === 0"
>导出</el-button
>
<el-button @click="downloadInvoices" style="margin-left: 40px">全部导出</el-button> <el-button @click="downloadInvoices" style="margin-left: 40px">全部导出</el-button>
</template> </template>
</app-list> </app-list>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</template> </template>
<template #footer> <template #footer>
<span>已选择{{ multipleSelection.length }}</span> <span>已选择{{ multipleSelection.length }}</span>
<el-button @click="exportSelect" style="margin-left: 40px">导出</el-button> <el-button @click="exportSelect" style="margin-left: 40px" :disabled="multipleSelection.length === 0">导出</el-button>
<el-button @click="exportAll" style="margin-left: 40px">导出全部</el-button> <el-button @click="exportAll" style="margin-left: 40px">导出全部</el-button>
</template> </template>
</app-list> </app-list>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论