fixed优惠券领取记录类型显示问题

This commit is contained in:
hupeng
2026-04-27 09:45:39 +08:00
parent aaf90e7e4a
commit 020cd5ad40

View File

@ -9,7 +9,7 @@
<el-table-column label="可用类型" align="center" prop="type"> <el-table-column label="可用类型" align="center" prop="type">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.type == 1">自取</span> <span v-if="scope.row.type == 1">自取</span>
<span v-if="scope.row.type == 0">外卖</span> <span v-else-if="scope.row.type == 2">外卖</span>
<span v-else>通用</span> <span v-else>通用</span>
</template> </template>
</el-table-column> </el-table-column>