Commit 7ca97388 by chenzhenan

生活事件量表重复提交的bug

parent e5985b49
......@@ -348,9 +348,7 @@ Page({
}
var urls = HOST + 'wechat.php?s=Home/del_vip'
fetchPost(urls,data1,(err,res)=>{
that.setData({
flag: true
})
if (res == 1 || res == 0) {
wx.removeStorageSync('lb_swiper_con');
//删除答题记录缓存
......@@ -365,6 +363,9 @@ Page({
icon: 'none',
duration: 2000
})
that.setData({
flag: true
})
}
if (res == 1) {
// clearTimeout(timer)
......
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