This commit is contained in:
西瓜°
2026-02-26 20:58:48 +08:00
parent 154fdb3ef3
commit 6092cd0eba
3 changed files with 8 additions and 0 deletions
@@ -92,6 +92,9 @@ export default defineComponent({
parts = [part.value]
}
for (const part of parts) {
if (!configStore.config.equips[part]) {
configStore.config.equips[part] = { ...configStore.defaultEqusConfig }
}
if (configStore.config.equips[part]) {
;(configStore.config.equips[part] as Record<string, any>)[name] = val
}