Commit 22b88146 by 李嘉林

修改

parent 22e7835f
......@@ -800,6 +800,14 @@ export default {
getBirthGift(that) {
birth.getQueryGift().then(res => {
let result = res.data
if(result.code == -1 || result.msg == '没有查询到用户信息'){
wx.removeStorage({
key: "sessionid"
});
wx.removeStorage({
key: "openid"
});
}
console.log(JSON.stringify(result), that, 'tztztz初始化')
if (result.data.gifts !== null && result.data.gifts.length > 0) {
// 判断礼物是否领取完成
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment