Browse Source

feature: 处理当前选中频道报错的问题

Damon 7 months atrás
parent
commit
d8467907ba
1 changed files with 3 additions and 1 deletions
  1. 3 1
      utils/lexin/jump.js

+ 3 - 1
utils/lexin/jump.js

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