pages/login/login.vue
@@ -44,7 +44,6 @@ </view> </scroll-view> <view> <uni-popup ref="popup" type="right"> <view class="config"> @@ -295,9 +294,9 @@ } uni.setStorageSync('token', res.data.token); setTimeout(() => { uni.navigateBack(); // 小程序用这个 把首页路由放第一个 // uni.navigateBack(); // 小程序用这个 把首页路由放第一个 uni.reLaunch({ url: '../index/index' url: '../index/index2' }); }, 1000); } else {