|
@@ -44,7 +44,7 @@
|
|
app.globalData.userinfo.orgId = 0;
|
|
app.globalData.userinfo.orgId = 0;
|
|
}
|
|
}
|
|
// app.globalData.userinfo.orgId = 3;
|
|
// app.globalData.userinfo.orgId = 3;
|
|
- // app.globalData.userinfo.token = '74915012521612';
|
|
|
|
|
|
+ // app.globalData.userinfo.token = '74915013303370';
|
|
// app.globalData.userinfo.userId = 60;
|
|
// app.globalData.userinfo.userId = 60;
|
|
this.checkLogin();
|
|
this.checkLogin();
|
|
},
|
|
},
|
|
@@ -159,6 +159,10 @@
|
|
icon: 'none',
|
|
icon: 'none',
|
|
duration: 2000
|
|
duration: 2000
|
|
})
|
|
})
|
|
|
|
+ if (app.ajaxReadyCallback2) { //在onShow中调用数据的,添加在onShow方法内,防止不同页面覆盖
|
|
|
|
+ res.data['apiname'] = apiname;
|
|
|
|
+ app.ajaxReadyCallback2(res)
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
fail: function (err) {
|
|
fail: function (err) {
|