feat(admin): 将新增赛事按钮移至联赛操作栏,并移除列表下方的旧按钮

This commit is contained in:
2026-06-18 15:41:38 +08:00
parent 2487724692
commit 7b5a752b8f
2 changed files with 5 additions and 7 deletions

View File

@@ -328,11 +328,7 @@ defineExpose({ reload: load });
<template>
<div class="league-matches-panel">
<div class="nested-panel-toolbar">
<el-button type="primary" size="small" @click.stop="emit('add-match')">
{{ t('match.create_fixture_btn') }}
</el-button>
</div>
<el-table v-loading="loading" :data="matches" stripe row-key="id" class="nested-match-table">
<el-table-column type="index" :index="(i: number) => (matchPage - 1) * matchPageSize + i + 1" :label="t('common.seq')" width="70" align="center" />
<el-table-column :label="t('match.col.matchup')" min-width="180">