修改注释
This commit is contained in:
+1
-2
@@ -53,8 +53,7 @@
|
|||||||
if (state) {
|
if (state) {
|
||||||
loadingUrl += '&state=' + state;
|
loadingUrl += '&state=' + state;
|
||||||
}
|
}
|
||||||
// 必须用 reLaunch:支付宝回调时当前页可能就是 loading 页,
|
// reLaunch 保证 onLoad 一定触发(支付宝回调时当前页可能已是 loading 页)
|
||||||
// redirectTo 到同一页面不会重新触发 onLoad,导致请求卡住
|
|
||||||
uni.reLaunch({ url: loadingUrl });
|
uni.reLaunch({ url: loadingUrl });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user