From 5f33acc112f6247ec487406800091eb4f47ce89a Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期五, 04 十一月 2022 11:02:00 +0800 Subject: [PATCH] bug修改 --- src/views/systemSetting/device/loudspeaker/index.vue | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/systemSetting/device/loudspeaker/index.vue b/src/views/systemSetting/device/loudspeaker/index.vue index de78e41..8c4c33e 100644 --- a/src/views/systemSetting/device/loudspeaker/index.vue +++ b/src/views/systemSetting/device/loudspeaker/index.vue @@ -197,10 +197,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