perf: 优化代码

This commit is contained in:
xingyu
2023-01-04 16:33:51 +08:00
parent e63e5ffe4c
commit ed7e3338f8
30 changed files with 44 additions and 224 deletions

View File

@ -17,7 +17,7 @@
preIcon="ep:download"
:title="t('action.export')"
v-hasPermi="['pay:order:export']"
@click="handleExport()"
@click="exportList('订单数据.xls')"
/>
</template>
<template #actionbtns_default="{ row }">
@ -72,10 +72,6 @@ const setDialogTile = (type: string) => {
const handleCreate = () => {
setDialogTile('create')
}
// 导出操作
const handleExport = async () => {
await exportList('订单数据.xls')
}
// 详情操作
const handleDetail = async (rowId: number) => {