review + mall:商品管理

(cherry picked from commit 349a39e72f)
This commit is contained in:
YunaiV 2023-05-24 20:32:38 +08:00 committed by shizhong
parent 61396246a5
commit dfc3da744f

View File

@ -55,7 +55,6 @@
<Icon class="mr-5px" icon="ep:plus" /> <Icon class="mr-5px" icon="ep:plus" />
新增 新增
</el-button> </el-button>
<!-- TODO @puhui999增加一个导出操作 -->
<el-button <el-button
v-hasPermi="['product:spu:export']" v-hasPermi="['product:spu:export']"
:loading="exportLoading" :loading="exportLoading"
@ -385,7 +384,7 @@ const handleExport = async () => {
// //
exportLoading.value = true exportLoading.value = true
const data = await ProductSpuApi.exportSpu(queryParams) const data = await ProductSpuApi.exportSpu(queryParams)
download.excel(data, '商品spu.xls') download.excel(data, '商品列表.xls')
} catch { } catch {
} finally { } finally {
exportLoading.value = false exportLoading.value = false