This commit is contained in:
2026-04-23 00:25:01 +08:00
parent 2cbf95a55e
commit 1b69571d8a
6 changed files with 249 additions and 27 deletions
+3 -2
View File
@@ -234,8 +234,9 @@ export const useConfigStore = defineStore('configStore', () => {
const calc = async () => {
if (!useInfoStore().infos?.alter) return undefined
const res = await api.calc(config.value)
// const skillId = res.suits.oath?.suitId
// config.value.oathSkill = skillId || '1'
if (res.suits.oath?.suitId != res.suits.suit?.suitId) {
config.value.oathSkill = '1'
}
return res
}