修复选择衣服后刷新进入tryOn的衣服和生成的不一致

This commit is contained in:
X1627315083
2025-11-18 11:34:48 +08:00
parent bb6378e409
commit f5496603b6
4 changed files with 20 additions and 8 deletions

View File

@@ -32,6 +32,7 @@ const options = ref<any[]>([
])
const handleSelect = (value: string) => {
if(value == 'meal')return
const generateParams = userInfoStore.getGenerateParams()
generateParams.sex = value
userInfoStore.setGenerateParams(generateParams)