Browse Source

登录

undefined
xubinxcode 4 years ago
parent
commit
bd521a9cbe
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      addons/unishop/uniapp/uni-shop/pages/public/login.vue

+ 1
- 2
addons/unishop/uniapp/uni-shop/pages/public/login.vue View File

@@ -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{


Loading…
Cancel
Save