|
@@ -185,12 +185,12 @@ const updateGamesRelations = async () => {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const selectGame = (platform, game) => {
|
|
const selectGame = (platform, game) => {
|
|
|
- const { leagueId, eventId, timestamp, leagueName, teamHomeName, teamAwayName, selected } = game;
|
|
|
|
|
|
|
+ const { leagueId, eventId, timestamp, leagueName, teamHomeName, teamAwayName, selected, matchNumStr } = game;
|
|
|
if (selected) {
|
|
if (selected) {
|
|
|
currentRelation[platform] = null;
|
|
currentRelation[platform] = null;
|
|
|
}
|
|
}
|
|
|
else {
|
|
else {
|
|
|
- currentRelation[platform] = { leagueId, eventId, timestamp, leagueName, teamHomeName, teamAwayName };
|
|
|
|
|
|
|
+ currentRelation[platform] = { leagueId, eventId, timestamp, leagueName, teamHomeName, teamAwayName, matchNumStr };
|
|
|
}
|
|
}
|
|
|
if (platform == 'jc') {
|
|
if (platform == 'jc') {
|
|
|
currentRelation.ps = null;
|
|
currentRelation.ps = null;
|
|
@@ -236,7 +236,8 @@ onMounted(() => {
|
|
|
:leagueName="rel.jc.leagueName"
|
|
:leagueName="rel.jc.leagueName"
|
|
|
:teamHomeName="rel.jc.teamHomeName"
|
|
:teamHomeName="rel.jc.teamHomeName"
|
|
|
:teamAwayName="rel.jc.teamAwayName"
|
|
:teamAwayName="rel.jc.teamAwayName"
|
|
|
- :dateTime="rel.jc.dateTime" />
|
|
|
|
|
|
|
+ :dateTime="rel.jc.dateTime"
|
|
|
|
|
+ :matchNumStr="rel.jc.matchNumStr" />
|
|
|
|
|
|
|
|
<MatchItem v-if="rel.ps"
|
|
<MatchItem v-if="rel.ps"
|
|
|
:eventId="rel.ps.eventId"
|
|
:eventId="rel.ps.eventId"
|
|
@@ -269,6 +270,7 @@ onMounted(() => {
|
|
|
:teamHomeName="game.teamHomeName"
|
|
:teamHomeName="game.teamHomeName"
|
|
|
:teamAwayName="game.teamAwayName"
|
|
:teamAwayName="game.teamAwayName"
|
|
|
:dateTime="game.dateTime"
|
|
:dateTime="game.dateTime"
|
|
|
|
|
+ :matchNumStr="game.matchNumStr"
|
|
|
:selected="game.selected"
|
|
:selected="game.selected"
|
|
|
@click="selectGame('jc', game)" />
|
|
@click="selectGame('jc', game)" />
|
|
|
</div>
|
|
</div>
|