From 70de8175da3d747e4944338331e45231a58bf13d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=8A=B2=E9=BE=99?= <2860996570@qq.com> Date: Sat, 28 Oct 2023 21:24:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/myAPI/login.js | 6 ++++-- src/main.js | 10 +++++----- src/views/index.vue | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/api/myAPI/login.js b/src/api/myAPI/login.js index e629683..b5da98d 100644 --- a/src/api/myAPI/login.js +++ b/src/api/myAPI/login.js @@ -16,8 +16,10 @@ export default { method: "POST", timeout: 60000, data: { - pdma: "MTExMTEx", - urne: "2112042170015", + pdma: "Q2V0YzI4QGNvbQ==", + urne: "2112042170015", + // pdma: "MTExMTEx", + // urne: "2112042170015", }, }); }, diff --git a/src/main.js b/src/main.js index 9021dd7..82ef462 100644 --- a/src/main.js +++ b/src/main.js @@ -79,11 +79,11 @@ import { setToken } from '@/utils/auth' // ); // } // token() -// let infor = async () => { -// let response = await API.login.getuserinfo(); -// localStorage.setItem("userDto", JSON.stringify(response?.result.userDto)); -// } -// infor() +let infor = async () => { + let response = await API.login.getuserinfo(); + localStorage.setItem("userDto", JSON.stringify(response?.result.userDto)); +} +infor() /** diff --git a/src/views/index.vue b/src/views/index.vue index cf811dc..4e6c9c8 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -26,7 +26,7 @@ - 您好,{{ userName }} + 您好,{{ userName }} 退出登录