Skip to content

Commit

Permalink
fix(Export): 修改导出模块的插槽
Browse files Browse the repository at this point in the history
  • Loading branch information
HammCn committed Aug 30, 2023
1 parent 4213d7f commit a6beaa6
Showing 1 changed file with 27 additions and 29 deletions.
56 changes: 27 additions & 29 deletions component/toolbar/Export.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,35 +8,33 @@
width="400px"
@on-cancel="cancelExport"
>
<template #body>
<div class="tips">
<template v-if="isLoading">
<el-progress
:percentage="100"
:indeterminate="true"
:duration="1"
:stroke-width="10"
:format="() => { }"
/>
数据准备中,请稍后...
</template>
<template v-else>
<el-result
icon="success"
title="数据导出成功"
>
<template #extra>
<el-button
type="primary"
@click="download"
>
下载导出的文件
</el-button>
</template>
</el-result>
</template>
</div>
</template>
<div class="tips">
<template v-if="isLoading">
<el-progress
:percentage="100"
:indeterminate="true"
:duration="1"
:stroke-width="10"
:format="() => { }"
/>
数据准备中,请稍后...
</template>
<template v-else>
<el-result
icon="success"
title="数据导出成功"
>
<template #extra>
<el-button
type="primary"
@click="download"
>
下载导出的文件
</el-button>
</template>
</el-result>
</template>
</div>
</ADialog>
</template>

Expand Down

0 comments on commit a6beaa6

Please sign in to comment.