mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 10:29:20 +08:00
perf: 优化
This commit is contained in:
@@ -5,7 +5,7 @@ import type { PageQueryDTO } from '#/types/common';
|
||||
|
||||
import { computed, ref, watch } from 'vue';
|
||||
|
||||
import { Button, Image, message, Space, Tag } from 'ant-design-vue';
|
||||
import { Button, Image, message, Popconfirm, Space, Tag } from 'ant-design-vue';
|
||||
|
||||
import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import { getImagePageApi } from '#/api/media/image';
|
||||
@@ -334,9 +334,12 @@ defineExpose({
|
||||
<Space>
|
||||
<Button size="small" @click="handleDownload(row)"> 下载 </Button>
|
||||
<Button size="small" @click="handleEdit(row)"> 编辑 </Button>
|
||||
<Button size="small" danger @click="handleDelete(row.id)">
|
||||
删除
|
||||
</Button>
|
||||
<Popconfirm
|
||||
title="确定要删除这张图片吗?"
|
||||
@confirm="handleDelete(row.id)"
|
||||
>
|
||||
<Button size="small" danger> 删除 </Button>
|
||||
</Popconfirm>
|
||||
</Space>
|
||||
</template>
|
||||
</Grid>
|
||||
|
||||
Reference in New Issue
Block a user