fix: bug修改
This commit is contained in:
@@ -143,7 +143,8 @@ const fittingRoom = defineStore({
|
||||
? this.currentClothes[1]?.fileUrl
|
||||
: undefined,
|
||||
suit: this.currentClothes?.[1]?.fileUrl ? true : undefined,
|
||||
cloth_len: fittingRoomStore.selectPattern,
|
||||
cloth_len: pattern.find((i) => i.value === this.currentClothes[0]?.len)?.label,
|
||||
len: pattern.find((i) => i.value === this.currentClothes[0]?.len)?.label,
|
||||
});
|
||||
if (httpResponse.code !== 0) {
|
||||
sheep.$helper.toast(httpResponse.msg);
|
||||
@@ -196,9 +197,10 @@ const fittingRoom = defineStore({
|
||||
},
|
||||
// 点击衣服
|
||||
changeClothes(data) {
|
||||
console.log('changeClothes: 2222222222222222222222222222222',);
|
||||
const shangyi = '95'; // 上衣
|
||||
const xiazhuang = '96'; // 上衣
|
||||
console.log('🚀 ~ changeClothes ~ data: ', data.clothType);
|
||||
console.log('ppppppppppppppppp ~ changeClothes ~ data: xxxxx', data.clothType);
|
||||
if (this.currentClothes?.length === 0) {
|
||||
this.currentClothes = [data];
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user