From a10e10435ee2d6aab8e2475d8a268dd6cf8e6d28 Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期五, 03 十一月 2023 14:49:43 +0800 Subject: [PATCH] feat: 接入 jwt token --- src/views/warehouseManage/warehouse/index.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/warehouseManage/warehouse/index.vue b/src/views/warehouseManage/warehouse/index.vue index 3cacba9..03e589f 100644 --- a/src/views/warehouseManage/warehouse/index.vue +++ b/src/views/warehouseManage/warehouse/index.vue @@ -125,10 +125,10 @@ page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize }).then((res) => { - if (res.data.code == 200) { - const list = res.data.data?res.data.data:[] + if (res.code == 200) { + const list = res.data?res.data:[] this.tableList.tableInfomation = list - this.pagerOptions.totalCount = res.data.total + this.pagerOptions.totalCount = res.total } }) }, -- Gitblit v1.8.0