From b0fce2d310e3ac29fa5a2bdf0cff5869f62c0872 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=86=B7=E8=B0=83?= <3084898776@qq.com>
Date: Sat, 10 Aug 2024 19:18:02 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9user=E7=9A=84token=E4=B8=8E?=
=?UTF-8?q?=E8=BF=87=E6=9C=9F=E6=97=B6=E9=97=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/store/modules/user.js | 4 ++--
src/views/login.vue | 34 +++++++++++++++++-----------------
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index 2f54098..a4c8790 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -40,10 +40,10 @@ const user = {
Login({commit}, userInfo) {
const username = userInfo.username.trim()
const password = userInfo.password
- const code = userInfo.code
+ // const code = userInfo.code
const uuid = userInfo.uuid
return new Promise((resolve, reject) => {
- login(username, password, code, uuid).then(res => {
+ login(username, password, uuid).then(res => {
let data = res.data
setToken(data.accessToken)
commit('SET_TOKEN', data.accessToken)
diff --git a/src/views/login.vue b/src/views/login.vue
index bdd86d9..7e70cc4 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -23,20 +23,20 @@
-
-
-
-
-
-
![]()
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
记住密码