From c571fbd81c0b8b3f4aa707606546efbc8b227f33 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期六, 21 九月 2024 09:01:40 +0800
Subject: [PATCH] #

---
 pages/login/login.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/pages/login/login.vue b/pages/login/login.vue
index 9641e83..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: {
@@ -226,7 +228,7 @@
 							}
 							uni.setStorageSync('token', res.data.token);
 							setTimeout(() => {
-								uni.navigateBack();		//   灏忕▼搴忕敤杩欎釜  鎶婇椤佃矾鐢辨斁绗竴涓�
+								// uni.navigateBack();		//   灏忕▼搴忕敤杩欎釜  鎶婇椤佃矾鐢辨斁绗竴涓�
 								uni.reLaunch({
 									url: '../index/index'
 								});

--
Gitblit v1.9.1