Commit 4a6485ae by fengzhaoyu

修复:修复返回上一级,再返回支付页面,二维码刷新过快。

parent 54a9b83b
......@@ -17,7 +17,7 @@ App({
// axios.defaults.baseURL = 'http://139.196.213.18:8400' // beta环境
globalData: {
loadingType: 0,
// globalUrl: '192.168.1.102:8400'
// globalUrl: '192.168.1.174:8400'
globalUrl: '139.196.213.18:8400'
}
});
......@@ -43,6 +43,7 @@ Page({
},
onReady() {
// 页面加载完成
clearInterval(timeRefreshQRcode);
const _that = this;
_that.refreshQRcode();
timeRefreshQRcode = setInterval(function () {
......@@ -94,7 +95,6 @@ Page({
})
},
onShow() {
//刷新二维码
const _that = this;
clearInterval(timeRefreshQRcode);
......
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