求助这个this的具体对象名称
authCode: function () {
Helper.getAjax('nomallid/captchaCode/getCaptchaCode?rd=' + (Math.random() + '').slice(2, 8)).then(function (e) {
this.setState({
captChaCodeUrl: e.data.image,
token: e.data.token
})
}.bind(this))
},
this.State.token这个就是我想要从控制台修改的值
但是这个this我不知到具体指的对象名称,感觉应该是e测试了不对,直接在下断点时控制台输入this.State.token=“111111” 会成功 但是不下断点输入this.State.token=“111111” 就会报错
麻烦各位大神说一下这个this是那个对象?
我好可以用 对象名称.State.token=“111111” 直接修改
来源网址http://mms.pinduoduo.com/Pdd.html#/Login
js地址https://mms-static.pinduoduo.com/index_chunk_38b16e.js 第45577行
搜索关键字“Helper.getAjax('nomallid/captchaCode/getCaptchaCode?rd=' ”直接跳到