From ee937db06cfca72ab3a0a428d5a264faaa025ac9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=A6=E8=8B=B1=E6=9D=B0?= <327782001@qq.com> Date: Fri, 8 Sep 2023 23:14:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/MyLogin.vue | 2 +- src/components/menus/MyChat.vue | 2 +- src/components/menus/MyInterview.vue | 299 +++++++++++------------ src/components/subcomponents/MyAside.vue | 2 +- src/router/index.js | 2 +- 5 files changed, 150 insertions(+), 157 deletions(-) diff --git a/src/components/MyLogin.vue b/src/components/MyLogin.vue index 30ba11d..f7c300f 100644 --- a/src/components/MyLogin.vue +++ b/src/components/MyLogin.vue @@ -43,7 +43,7 @@ export default { this.password = '' }, login() { - if (this.username === 'admin' && this.password === '666688') { + if (this.username === 'admin' && this.password === '666666') { // 登录成功 // 1. 存储 token localStorage.setItem('token', 'Bearer xxxx') diff --git a/src/components/menus/MyChat.vue b/src/components/menus/MyChat.vue index 21c061f..6951967 100644 --- a/src/components/menus/MyChat.vue +++ b/src/components/menus/MyChat.vue @@ -119,7 +119,7 @@ export default { console.log(res) if (res.code === 200) { this.userlist = res.result.content - this.total = res.result.total + this.total = res.result.totalElements localStorage.setItem('lastPage', this.currentPage) localStorage.setItem('lastQuestion', this.formInline.question) } diff --git a/src/components/menus/MyInterview.vue b/src/components/menus/MyInterview.vue index 176cf50..af7e0ae 100644 --- a/src/components/menus/MyInterview.vue +++ b/src/components/menus/MyInterview.vue @@ -1,36 +1,52 @@