|
|
@@ -74,7 +74,6 @@ |
|
|
|
setTimeout(function() { |
|
|
|
let pages = getCurrentPages(); //当前页 |
|
|
|
if(pages.length==1&&pages[0].route=='pages/public/login'){ |
|
|
|
console.log(pages[0].route) |
|
|
|
uni.switchTab({ |
|
|
|
url: '/pages/index/index' |
|
|
|
}) |
|
|
@@ -107,7 +106,7 @@ |
|
|
|
setTimeout(function() { |
|
|
|
let pages = getCurrentPages(); //当前页 |
|
|
|
if(pages.length==1&&pages[0].route=='pages/public/login'){ |
|
|
|
uni.navigateTo({ |
|
|
|
uni.switchTab({ |
|
|
|
url: `pages/index/index` |
|
|
|
}); |
|
|
|
}else{ |
|
|
|