diff --git a/src/App.vue b/src/App.vue index 1f923da..d5a5b5e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,8 +1,8 @@ diff --git a/src/pages/my/my.vue b/src/pages/my/my.vue index c6ca102..e526704 100644 --- a/src/pages/my/my.vue +++ b/src/pages/my/my.vue @@ -30,7 +30,7 @@ const getMemberProfileData = async () => { const res = await getMemberProfileAPI() if (res.code == 200) { const obj = res.data - const avatar = domain + JSON.parse(obj.headIcon).url + const avatar = domain + JSON.parse(obj.headIcon)[0].url info.value = { orderTotal: obj.orderTotal, recycleMiles: obj.recycleMiles, @@ -48,12 +48,12 @@ const getMemberProfileData = async () => { const handleOrderList = () => { uni.navigateTo({ url: '/pages/orderList/orderList' }) } -const handleOrderAuto = () => { - uni.navigateTo({ url: '/pages/orderAuto/orderAuto' }) -} -const handleNewsList = () => { - uni.navigateTo({ url: '/pages/newsList/newsList' }) -} +// const handleOrderAuto = () => { +// uni.navigateTo({ url: '/pages/orderAuto/orderAuto' }) +// } +// const handleNewsList = () => { +// uni.navigateTo({ url: '/pages/newsList/newsList' }) +// }