From 786519fa1fd79e9d141f825ef5597f508ac9b123 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Thu, 5 Sep 2019 09:43:03 +0800 Subject: [PATCH] log --- public/react/src/App.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/react/src/App.js b/public/react/src/App.js index fbb9ac7b0..7cd219dba 100644 --- a/public/react/src/App.js +++ b/public/react/src/App.js @@ -288,6 +288,7 @@ class App extends Component { axios.post(url, { url: 'http://pre-newweb.educoder.net', }).then((response) => { + console.log('got res') const data = response.data; wx.config({ debug: false, @@ -305,6 +306,7 @@ class App extends Component { ] }); wx.ready(function () { + console.log('wx is ready') var shareData = { title: '这是是分享标题', desc: '这是是摘要', @@ -322,6 +324,8 @@ class App extends Component { }); wx.error(function (res) { + console.log('wx is error') + console.log(res) //alert(res.errMsg);//错误提示 });