当裁判组数据为空时不应显示按钮,需要判断 refereeGroups 的大小而非是否存在 Co-authored-by: Copilot <copilot@github.com>
@@ -81,7 +81,7 @@
<el-table-column label="裁判组" align="center" prop="refereeGroup" v-if="columns[8].visible">
<template #default="scope">
<el-button
- v-if="scope.row.refereeGroups"
+ v-if="scope.row.refereeGroups.size > 0"
type="primary"
size="small"
@click="handleViewRefereeGroup(scope.row.refereeGroups, scope.row.projectName)"