xujing 5 年前
父节点
当前提交
5869a67c85
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      src/pages/project/h5Page.js
  2. 1
    1
      src/utils/request.js

+ 1
- 1
src/pages/project/h5Page.js 查看文件

@@ -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 查看文件

@@ -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) {