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({ this.$api.addQuestionFre({
roleId: this.jsonId, roleId: this.jsonId,
sceneId: this.sceneId, sceneId: this.sceneId,
// userId : this.userId userId : this.userId
userId: '007'
}) })
.then(res => { .then(res => {
this.questionFreId = res.data; this.questionFreId = res.data;

1
pages/my/my.vue

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

5
subpkg/feedback/feedback.vue

@ -34,7 +34,7 @@
} }
}, },
computed: { computed: {
...mapState('m_user', ['userinfo']) ...mapState('m_user', ['userinfo','userId'])
}, },
methods:{ methods:{
async toTable(){ async toTable(){
@ -47,7 +47,8 @@
content: contentReq, content: contentReq,
mobile: mobileReq, mobile: mobileReq,
nickname: this.userinfo.nickName, nickname: this.userinfo.nickName,
city: this.userinfo.city city: this.userinfo.city,
userId: this.userId
} }
const { const {
data: res data: res

1
subpkg/login/login.vue

@ -30,7 +30,6 @@
// uni.switchTab({ // uni.switchTab({
// url: '/pages/index/index' // url: '/pages/index/index'
// }) // })
console.log(e.detail.userInfo)
this.updateUserInfo(e.detail.userInfo) this.updateUserInfo(e.detail.userInfo)
this.getToken(e.detail) this.getToken(e.detail)

Loading…
Cancel
Save