From 4b0df650a1fe818218e7f8ac0c6ff8f0150371b6 Mon Sep 17 00:00:00 2001
From: “dzb” <2632970487@qq.com>
Date: 星期五, 04 十一月 2022 11:26:52 +0800
Subject: [PATCH] 修改后端接口后头像登录用户头像不显示问题
---
src/views/systemSetting/device/handheldTerminal/index.vue | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/views/systemSetting/device/handheldTerminal/index.vue b/src/views/systemSetting/device/handheldTerminal/index.vue
index e130306..03d856f 100644
--- a/src/views/systemSetting/device/handheldTerminal/index.vue
+++ b/src/views/systemSetting/device/handheldTerminal/index.vue
@@ -194,10 +194,8 @@
pageSize,
state: context,
}).then((res) => {
- if (res.data.code == 200) {
- this.list = res.data.data.records;
- this.totalNum = res.data.data.total;
- }
+ this.list = res.records;
+ this.totalNum = res.total;
});
},
handleStateChange(e) {
--
Gitblit v1.8.0