diff --git a/src/components/MyLogin.vue b/src/components/MyLogin.vue index 30ba11d00ec3cd86d6d8076c63e4d824569b2b70..f7c300f561f31253f9289f17eb4b9b4ac76c9b36 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 21c061f359a75147b9a83711fe3cc6adf1b1ca35..6951967de554b7b0cb75de067b3121629eebf171 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 176cf50e38e70a5ed08074a6414105c331f24991..af7e0ae3b8954c16f50cdfe05d909b3dcdbc9cc8 100644 --- a/src/components/menus/MyInterview.vue +++ b/src/components/menus/MyInterview.vue @@ -1,36 +1,52 @@