|
@@ -9,12 +9,14 @@ function toChannelIndex(index, callback) {
|
|
const route_util = require('../route_util');
|
|
const route_util = require('../route_util');
|
|
const route_constant = require('../route_constant');
|
|
const route_constant = require('../route_constant');
|
|
var isLogin = pages[0].getIsLogin();
|
|
var isLogin = pages[0].getIsLogin();
|
|
|
|
+ console.log("gadfqwwerqewrqr==11==" + isLogin);
|
|
if (!isLogin) {
|
|
if (!isLogin) {
|
|
route_util.jump(route_constant.login);
|
|
route_util.jump(route_constant.login);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
- if (index == actionIndex) {
|
|
|
|
|
|
+ var actionIndex = pages[0].getActionIndex();
|
|
|
|
+ if (actionIndex != null && index == actionIndex) {
|
|
return;
|
|
return;
|
|
};
|
|
};
|
|
|
|
|