From 33f85446048acfc2ab479d6cb081a64dffc58467 Mon Sep 17 00:00:00 2001 From: yanyan Date: Mon, 18 Mar 2024 16:16:10 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=BB=E8=BE=91=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/s-video/s-video.vue | 3 +-- pages/my/my.vue | 1 + subpkg/feedback/feedback.vue | 5 +++-- subpkg/login/login.vue | 1 - 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/s-video/s-video.vue b/components/s-video/s-video.vue index 86cfc3b..3ccd281 100644 --- a/components/s-video/s-video.vue +++ b/components/s-video/s-video.vue @@ -188,8 +188,7 @@ this.$api.addQuestionFre({ roleId: this.jsonId, sceneId: this.sceneId, - // userId : this.userId - userId: '007' + userId : this.userId }) .then(res => { this.questionFreId = res.data; diff --git a/pages/my/my.vue b/pages/my/my.vue index 6b91f33..85f3788 100644 --- a/pages/my/my.vue +++ b/pages/my/my.vue @@ -98,6 +98,7 @@ this.getSwiperList() this.getFunctionList() this.getMyMedalList() + this.getChallengeTotal() this.getStatus() }, onShow() { diff --git a/subpkg/feedback/feedback.vue b/subpkg/feedback/feedback.vue index 69cd416..c8850cf 100644 --- a/subpkg/feedback/feedback.vue +++ b/subpkg/feedback/feedback.vue @@ -34,7 +34,7 @@ } }, computed: { - ...mapState('m_user', ['userinfo']) + ...mapState('m_user', ['userinfo','userId']) }, methods:{ async toTable(){ @@ -47,7 +47,8 @@ content: contentReq, mobile: mobileReq, nickname: this.userinfo.nickName, - city: this.userinfo.city + city: this.userinfo.city, + userId: this.userId } const { data: res diff --git a/subpkg/login/login.vue b/subpkg/login/login.vue index 0f5c330..b08129f 100644 --- a/subpkg/login/login.vue +++ b/subpkg/login/login.vue @@ -30,7 +30,6 @@ // uni.switchTab({ // url: '/pages/index/index' // }) - console.log(e.detail.userInfo) this.updateUserInfo(e.detail.userInfo) this.getToken(e.detail)