From 610b299ed7c64b48ede23c2a7553c5b90988efa5 Mon Sep 17 00:00:00 2001 From: web <candymxq888@outlook.com> Date: 星期二, 18 三月 2025 16:01:47 +0800 Subject: [PATCH] fix:修改后台接口问题 --- src/store/modules/user.js | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 5a78c97..65f067f 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -24,12 +24,8 @@ actions: { // 登录 login(userInfo) { - const userName = userInfo.userName.trim() - const password = userInfo.password - // const code = userInfo.code - // const uuid = userInfo.uuid return new Promise((resolve, reject) => { - login(userName, password).then(res => { + login(userInfo).then(res => { setToken(res.data.token) this.token = res.token -- Gitblit v1.9.3