diff --git a/src/renderer/src-auxiliary-window/views/opgg/OpggChampion.vue b/src/renderer/src-auxiliary-window/views/opgg/OpggChampion.vue index bde1b930..94022a61 100644 --- a/src/renderer/src-auxiliary-window/views/opgg/OpggChampion.vue +++ b/src/renderer/src-auxiliary-window/views/opgg/OpggChampion.vue @@ -827,7 +827,7 @@ const handleSetSummonerSpells = async (ids: number[]) => { if (chat.conversations.championSelect) { chatSend( chat.conversations.championSelect.id, - `[League Akari] 已设置召唤师技能: ${gameData.summonerSpells[newSpell1Id]?.name} | ${gameData.summonerSpells[newSpell2Id]?.name}`, + `[League Akari] 已设置召唤师技能: [OP.GG] ${gameData.summonerSpells[newSpell1Id]?.name} | ${gameData.summonerSpells[newSpell2Id]?.name}`, 'celebration' ) } @@ -890,7 +890,7 @@ const handleSetRunes = async (r: { if (chat.conversations.championSelect) { chatSend( chat.conversations.championSelect.id, - `[League Akari] 已${addedNew ? '添加' : '替换'}符文页: ${gameData.champions[info.value?.id]?.name || '-'}${positionName ? ` - ${positionName}` : ''}`, + `[League Akari] 已${addedNew ? '添加' : '替换'}符文页: [OP.GG] ${gameData.champions[info.value?.id]?.name || '-'}${positionName ? ` - ${positionName}` : ''}`, 'celebration' ) } diff --git a/src/shared/renderer/modules/external-data-source/store.ts b/src/shared/renderer/modules/external-data-source/store.ts index 2024f047..2182a2eb 100644 --- a/src/shared/renderer/modules/external-data-source/store.ts +++ b/src/shared/renderer/modules/external-data-source/store.ts @@ -2,7 +2,7 @@ import { GtimgHeroListJs, Hero } from '@shared/external-data-source/gtimg' import { ChampBalanceMapV1 } from '@shared/external-data-source/normalized/champ-balance' import { AvailableServersMap } from '@shared/external-data-source/sgp' import { defineStore } from 'pinia' -import { computed, shallowRef, watchEffect } from 'vue' +import { computed, shallowRef } from 'vue' export const useExternalDataSourceStore = defineStore('module:external-data-source', () => { const balanceData = shallowRef<{ @@ -31,10 +31,6 @@ export const useExternalDataSourceStore = defineStore('module:external-data-sour } }) - watchEffect(() => { - console.log('heroListMap', heroListMap.value) - }) - const sgpAvailability = shallowRef({ currentRegion: '', currentRsoPlatform: '',