Commit d4d9c4ad by 高淑倩

modify: 兑换提示延时

parent 1a4e6471
...@@ -149,11 +149,13 @@ class Http { ...@@ -149,11 +149,13 @@ class Http {
}) })
} }
if (error.msg && error.msg !='该用户尚未登录'){ if (error.msg && error.msg !='该用户尚未登录'){
setTimeout(() => {
wx.showToast({ wx.showToast({
title: `${error.msg}`, title: `${error.msg}`,
icon: 'none', icon: 'none',
duration:2500 duration:2500
}) })
})
} }
console.log(JSON.stringify(error)) console.log(JSON.stringify(error))
return Promise.reject(error) return Promise.reject(error)
......
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