pages/index/login.vue
@@ -157,10 +157,8 @@ username:this.username, password:this.password } console.log(data); // 登录成功后跳转首页 - 正式 loginApi(data).then((res)=>{ console.log(res); uni.hideLoading(); if (res.code==0) { uni.setStorageSync('access_token', res.data.tokentype + ' ' + res.data.token); @@ -214,7 +212,6 @@ uni.reLaunch({ url: '/pages/index/index' }); console.log(this.companylogo); } else { this.$refs.refSuccess.showBox({ type: 'error', @@ -463,7 +460,7 @@ } /deep/.input-placeholder { ::v-deep.input-placeholder { font-size: 24rpx; color: #999; }