pages/login/login.vue
@@ -44,7 +44,6 @@ </view> </scroll-view> <view> <uni-popup ref="popup" type="right"> <view class="config"> @@ -271,7 +270,7 @@ uni.request({ url: this.baseHttp + this.baseIP + ':' +this.basePORT +"/" +this.baseUrl + '/login.action', data: { username:this.userName, mobile:this.userName, password:md5.hex_md5(this.password) }, header: { @@ -295,7 +294,7 @@ } uni.setStorageSync('token', res.data.token); setTimeout(() => { uni.navigateBack(); // 小程序用这个 把首页路由放第一个 // uni.navigateBack(); // 小程序用这个 把首页路由放第一个 uni.reLaunch({ url: '../index/index' });