Commit d4d9c4ad by 高淑倩

modify: 兑换提示延时

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