|
|
@@ -200,7 +200,7 @@ const currentRelation = computed(() => {
|
|
|
const dateTime = dayjs(timestamp).format('YYYY-MM-DD HH:mm:ss');
|
|
|
const relation = { leagueName, timestamp, dateTime, stage, retime, score };
|
|
|
Object.keys(rel).forEach(platform => {
|
|
|
- const { eventId, teamHomeName, teamAwayName, events, special } = rel[platform];
|
|
|
+ const { eventId, teamHomeName, teamAwayName, events, special } = rel[platform] ?? {};
|
|
|
if (!relation.rel) {
|
|
|
relation.rel = {};
|
|
|
}
|