From 55e7e91abdfd489270d3fa6d6ca0daa77958c0a4 Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期四, 29 五月 2025 14:24:03 +0800
Subject: [PATCH] 新增并板入库
---
pages/login/login.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/pages/login/login.vue b/pages/login/login.vue
index a92e8d4..0929333 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -26,6 +26,7 @@
</label>
</checkbox-group>
<text class="changeIP" @click="changeIP()">璁剧疆IP</text>
+ <text class="changeIP" @click="longpressImg()">璁剧疆绔彛</text>
</view>
<view class="flex padding justify-center margin-top">
<button class="cu-btn bg-blue lg shadow" :loading="loading" :class="[shape=='round'?'round':'']"
@@ -190,6 +191,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 +201,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