From 216ef4cf6dc78537e556b1552cca0aac4914e216 Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期一, 16 十月 2023 15:41:18 +0800 Subject: [PATCH] feat: 调整JWT失效时的跳转逻辑 --- src/views/other/commonDialog/SelectContactDialog.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/other/commonDialog/SelectContactDialog.vue b/src/views/other/commonDialog/SelectContactDialog.vue index 5e3010e..7e578d5 100644 --- a/src/views/other/commonDialog/SelectContactDialog.vue +++ b/src/views/other/commonDialog/SelectContactDialog.vue @@ -121,8 +121,8 @@ this.loading = true await getContactList({ search_map: this.search_map, - page: 0, - pageSize: 0 + page: this.pagerOptions.currPage, + pageSize: this.pagerOptions.pageSize }) .then((res) => { console.log(res) @@ -134,7 +134,8 @@ client_name: item.Client.name } }) - this.tableList.tableInfomation = list.slice(0, 5) || [] + this.tableList.tableInfomation = list || [] + this.pagerOptions.totalCount = res.data.count } else { this.tableList.tableInfomation = [] } -- Gitblit v1.8.0