dev
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user