Commit de762979a3271ff7ae3642c380f3ebbfe2df859b

Authored by vking
1 parent 8b48af05

直接进入强制访问网络

@@ -39,7 +39,7 @@ Page({ @@ -39,7 +39,7 @@ Page({
39 * 生命周期函数--监听页面显示 39 * 生命周期函数--监听页面显示
40 */ 40 */
41 onShow: function () { 41 onShow: function () {
42 - this.getDetail(); 42 + this.getDetail(getCurrentPages().length==1);
43 }, 43 },
44 44
45 /** 45 /**
@@ -77,7 +77,7 @@ Page({ @@ -77,7 +77,7 @@ Page({
77 titleBarHeight: h, 77 titleBarHeight: h,
78 height: systemInfo.windowHeight 78 height: systemInfo.windowHeight
79 }) 79 })
80 - this.getDetail(); 80 + this.getDetail(getCurrentPages().length==1);
81 }, 81 },
82 82
83 /** 83 /**