fix(fittingRoom): 添加 isPerson 字段以确保数据同步
- 在 fittingRoom.js 中添加 isPerson: true 字段- 修复用户信息页面中的计算属性调用问题 - 确保性别选择功能正常工作
This commit is contained in:
+1
-1
@@ -211,7 +211,7 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
const userInfo = computed(() => sheep.$store('user').userInfo);
|
const userInfo = computed(() => sheep.$store('user').userInfo);
|
||||||
|
computed()
|
||||||
// 选择性别
|
// 选择性别
|
||||||
function onChangeGender(e) {
|
function onChangeGender(e) {
|
||||||
state.model.sex = e.detail.value;
|
state.model.sex = e.detail.value;
|
||||||
|
|||||||
@@ -136,6 +136,7 @@ const fittingRoom = defineStore({
|
|||||||
isSync: 'yes',
|
isSync: 'yes',
|
||||||
sex: this.sex,
|
sex: this.sex,
|
||||||
len: this.selectPattern,
|
len: this.selectPattern,
|
||||||
|
isPerson: true,
|
||||||
...data,
|
...data,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user