From c65b5b8314969beee2177392d957f31a64dfd199 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 3 Dec 2024 10:56:36 +0800 Subject: [PATCH] fix --- course/courseDetail/courseDetail.vue | 18 ++++++++++-------- user/selectAccount/selectAccount.vue | 1 + 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/course/courseDetail/courseDetail.vue b/course/courseDetail/courseDetail.vue index 7e010d7..9ee7b1a 100644 --- a/course/courseDetail/courseDetail.vue +++ b/course/courseDetail/courseDetail.vue @@ -71,6 +71,8 @@ + @@ -248,14 +250,14 @@ }, // 获取介绍 async getInfo () { - if (this.mallId) { - const res = await detailsOfGoods({ - mallId: this.mallId - }) - const e = res.orderDetails.mall - this.coverUrl = e.coverDrawing - this.briefIntroduction = e.detailedIntroduction - } + if (this.mallId) { + const res = await detailsOfGoods({ + mallId: this.mallId + }) + const e = res.orderDetails.mall + this.coverUrl = e.coverDrawing + this.briefIntroduction = e.detailedIntroduction + } }, // 记录最近使用 async addRecord () { diff --git a/user/selectAccount/selectAccount.vue b/user/selectAccount/selectAccount.vue index 7ab4bb6..43a7651 100644 --- a/user/selectAccount/selectAccount.vue +++ b/user/selectAccount/selectAccount.vue @@ -25,6 +25,7 @@ data() { return { openid: '', + phone: uni.getStorageSync('phone'), accounts: JSON.parse(uni.getStorageSync('accounts')), } },