From a8bbfa5addff1f556c670e049f8eb86ebe8c58d0 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期四, 25 七月 2024 08:22:23 +0800 Subject: [PATCH] # xgmFlwms --- pages/login/login.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/pages/login/login.vue b/pages/login/login.vue index a92e8d4..f241d2e 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -190,6 +190,7 @@ } }, onLogin: function (){ + console.log(this.baseHttp + this.baseIP + ':' +this.basePORT + this.baseUrl + '/login.action'); if(!this.userName || this.userName.length==0){ uni.showToast({title: '璇峰~鍐欒处鍙�',icon: "none"}) return; @@ -199,10 +200,11 @@ return; } uni.showLoading(); + uni.request({ url: this.baseHttp + this.baseIP + ':' +this.basePORT + this.baseUrl + '/login.action', data: { - mobile:this.userName, + username:this.userName, password:md5.hex_md5(this.password) }, header: { -- Gitblit v1.9.1