Unverified Commit bd5e56ab authored by uuz.vva's avatar uuz.vva Committed by GitHub
Browse files

添加函数返回 (#478)

wx.naviageTo是异步的。这里需要返回语句。
parent 092c8af0
......@@ -106,6 +106,7 @@ Page({
wx.navigateTo({
url: "/pages/auth/login/login"
});
return;
}
let couponId = e.currentTarget.dataset.index
......@@ -146,4 +147,4 @@ Page({
});
this.getCouponList();
}
})
\ No newline at end of file
})
Supports Markdown
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