|
调用storage.get接口,出现报错提示,提示Cannot read property 'token' of null,请问是什么原因?
storage.get({
key: 'token',
success: function (data) {
console.log(this.token);
console.log("handling success");
},
fail: function (data, code) {
console.log("handling fail, code = " + code);
}
}) |
|