修复列表类型显示错误

This commit is contained in:
hupeng committed 2026-03-28 16:34:56 +08:00
1 parent 3bc5647590
commit 6acbf109b3
1 file changed
+1 -1
@@ -53,7 +53,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-else-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>