This commit is contained in:
杨鹏
2025-10-14 11:03:07 +08:00
parent e28858a340
commit c05f6e540d
12 changed files with 66 additions and 27 deletions
+13 -2
View File
@@ -67,12 +67,13 @@
onShow(() => {
sheep.$store('user').updateUserData();
getInfo();
getPersonalInfo();
getFaceInfo();
getTryOnList();
});
const userFormData = ref({});
async function getInfo() {
async function getPersonalInfo() {
const { data } = await UserApi.getInfoByUser();
try {
const { dataJson } = data;
@@ -83,6 +84,16 @@
}
}
async function getFaceInfo() {
await UserApi.getFaceInfo({ dataScope: '0' });
try {
// const { dataJson } = data;
// userFormData.value = dataJson ? JSON.parse(dataJson) : {};
} catch (err) {
console.log(err);
}
}
onPullDownRefresh(() => {
sheep.$store('user').updateUserData();
setTimeout(function () {