fei.wang
6 天以前 645834e1c3efb3a8c50dcbda98d87caba04bd421
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;
   }