|
现在做了一个去付款的功能,在页面A中点击去付款后跳转到页面B,页面B中选择支付宝,点击去支付会调出支付宝支付页面,这个时候取消支付宝的支付会重新回到页面A,在这个时候再次点击去付款按钮后,跳转到页面B,页面B不会刷新,还是保留刚开始跳转的样子,单选按钮这时也是默认选中了支付宝(应该默认选中餐券的),请问这种情况怎么让每次点击页面B都刷新,图片代码如下所示。
取消支付后执行的代码:
justep.Shell.fireEvent("onContent3Content", {});
// setTimeout("justep.Shell.fireEvent('onContent3Content',{})",
// 1500);
var url = require.toUrl("$UI/orderdishes/main.w");
justep.Shell.showPage(url);
//self.close();
justep.Util.hint("支付失败", {
"type" : "warning",
// "delay" : 100,
"position" : "bottom",
});
|
-
页面A
-
页面B
|