소스 검색

bug修复

master
suizhijia 5 년 전
부모
커밋
b1c842ffa5
2개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -1
      496_dongfengqichen/pages/scout/register/register.js
  2. +2
    -2
      496_dongfengqichen/pages/scout/scout.js

+ 3
- 1
496_dongfengqichen/pages/scout/register/register.js 파일 보기

@@ -66,8 +66,10 @@ Page({
console.log(res)
if (res.code == 200) {
if(res.data!=null){
app.globalData.isStar = res.data;
app.globalData.authenticationStatus = res.data;
app.globalData.certificationState=res.data.certificationState;
wx.navigateTo({url: '/pages/scout/scout'})
wx.redirectTo({url: '/pages/scout/scout'})
}else{
this.setData({isbtn: true})
wx.showToast({icon:'none',title: '认证失败'})

+ 2
- 2
496_dongfengqichen/pages/scout/scout.js 파일 보기

@@ -83,7 +83,7 @@ Page({
* 海报页
*/
getPoster:function(){
console.log(this.data.authenticationStatus);
// console.log(this.data.authenticationStatus);
// return;
if (this.data.authenticationStatus) {
wx.navigateTo({
@@ -142,7 +142,7 @@ Page({
}else if(app.globalData.certificationState==4){
this.setData({titleContent:'尊敬的星探顾问'})
}
console.log(app.globalData.userInfoData);
// console.log(app.globalData.userInfoData);

if(app.globalData.userInfoData && app.globalData.userInfoData.avatarUrl){
this.setData({iconShow:false})

Loading…
취소
저장