Kaynağa Gözat

Merge branch 'dev' of http://git.ycjcjy.com/zhiyuxing/miniapp-v3 into dev

张延森 5 yıl önce
ebeveyn
işleme
6d2db04a85
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1
    1
      src/pages/project/h5Page.js
  2. 1
    1
      src/utils/request.js

+ 1
- 1
src/pages/project/h5Page.js Dosyayı Görüntüle

@@ -108,7 +108,7 @@ export default class Index extends Component {
108 108
         })
109 109
       })
110 110
       const { userInfo: { person: { avatarurl, phone } } } = this.props
111
-      console.log(this.props, "this.props")
111
+      console.log(this.props, "this.propsthis.propsthis.props")
112 112
       if (avatarurl && avatarurl.indexOf('wx.qlogo.cn') != -1) {
113 113
         console.log(avatarurl, "有头像哦~")
114 114
         this.setState({

+ 1
- 1
src/utils/request.js Dosyayı Görüntüle

@@ -79,7 +79,7 @@ export const fetch = async (options) => {
79 79
       throw res.data
80 80
     }
81 81
   }).catch((err) => {
82
-    console.error(err)
82
+    console.error(err,url)
83 83
     
84 84
     let errMessage = `请求失败: ${err.errMsg}`
85 85
     if (err.errMsg) {