From dd7d2d315048333974f23d08ce5fb44ec0d9e064 Mon Sep 17 00:00:00 2001
From: “dzb” <2632970487@qq.com>
Date: 星期五, 04 十一月 2022 11:45:57 +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