.
This commit is contained in:
+13
-2
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user