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 +++-
 main.js               |    2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/main.js b/main.js
index e84bdc9..573c039 100644
--- a/main.js
+++ b/main.js
@@ -4,7 +4,7 @@
 import Vue from 'vue'
 // Vue.prototype.baseUrl = "http://localhost:8081/acs"
 Vue.prototype.baseHttp = 'http://'
-Vue.prototype.baseUrl = '/xgmwms'
+Vue.prototype.baseUrl = '/xgmFlwms'
 Vue.config.productionTip = false
 App.mpType = 'app'
 const app = new Vue({
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