From 48e31778cba99836acaaccbb24c843cd3049b1da Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 23 九月 2022 15:37:12 +0800
Subject: [PATCH] 1.设备保养开发完成

---
 unpackage/cache/wgt/H5EDA0853/pages/login/index.html |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/unpackage/cache/wgt/H5EDA0853/pages/login/index.html b/unpackage/cache/wgt/H5EDA0853/pages/login/index.html
index 92af73e..32502d1 100644
--- a/unpackage/cache/wgt/H5EDA0853/pages/login/index.html
+++ b/unpackage/cache/wgt/H5EDA0853/pages/login/index.html
@@ -50,7 +50,8 @@
 						</van-field>
 					</div>
 					<div style="margin-top:30px;">
-						<van-button type="info" style="border-radius: 10px;" @click='loginClick' size="large">绔嬪嵆鐧诲綍
+						<van-button type="info" style="border-radius: 10px;" :disabled="username===''||password===''"
+							@click='loginClick' size="large">绔嬪嵆鐧诲綍
 						</van-button>
 					</div>
 				</div>
@@ -73,7 +74,7 @@
 
 			},
 			mounted() {
-				console.log(formatParams(),1)
+
 			},
 			methods: {
 				loginClick() {
@@ -105,18 +106,12 @@
 								username: res.data.username,
 								usertype: res.data.usertype
 							}
-
-
-							post('Login/ForcedOffline?userid=' + res.data.userid + '&usercode=' + res.data
-								.usercode + '&username=' + res.data.username + '&usertype=' + res.data
-								.usertype).then(res2 => {
+							post('Login/ForcedOffline' + formatParams(data2)).then(res2 => {
 								if (res2.code === '200') {
 									this.loginClick()
 								}
-
 							})
 						}
-
 					}).catch(err => {
 						console.log(err);
 					});

--
Gitblit v1.9.3