Browse Source

逻辑优化

h5_css
yanyan 3 years ago
parent
commit
33f8544604
  1. 3
      components/s-video/s-video.vue
  2. 1
      pages/my/my.vue
  3. 5
      subpkg/feedback/feedback.vue
  4. 1
      subpkg/login/login.vue

3
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;

1
pages/my/my.vue

@ -98,6 +98,7 @@
this.getSwiperList()
this.getFunctionList()
this.getMyMedalList()
this.getChallengeTotal()
this.getStatus()
},
onShow() {

5
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

1
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)

Loading…
Cancel
Save