套装相关

This commit is contained in:
2025-03-22 15:31:34 +08:00
parent c78faa5435
commit c6b6b02743
20 changed files with 529 additions and 107 deletions
+6
View File
@@ -1,5 +1,6 @@
import { defineStore } from 'pinia'
import { useInfoStore } from './info'
import api from '@/api'
// | '上衣'
// | '头肩'
// | '下装'
@@ -82,9 +83,14 @@ export const useConfigStore = defineStore('configStore', () => {
}
}
const calc = async()=>{
await api.calc(config.value)
}
return {
config,
loadConfig,
saveConfig,
calc
}
})