From 317c728f37af408b58a6efcb970bab140063d983 Mon Sep 17 00:00:00 2001 From: kerwincui <164770707@qq.com> Date: Fri, 20 May 2022 15:20:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E8=AE=BE=E5=A4=87=E6=BF=80?= =?UTF-8?q?=E6=B4=BB=E6=97=B6=E9=97=B4=E6=9F=A5=E8=AF=A2=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/src/views/iot/device/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vue/src/views/iot/device/index.vue b/vue/src/views/iot/device/index.vue index bc8000d8..7cae7d20 100644 --- a/vue/src/views/iot/device/index.vue +++ b/vue/src/views/iot/device/index.vue @@ -447,9 +447,10 @@ export default { /** 查询所有简短设备列表 */ getList() { this.loading = true; + this.queryParams.params={}; if (null != this.daterangeActiveTime && '' != this.daterangeActiveTime) { - this.queryParams.params["beginActiveTime"] = this.daterangeActiveTime[0]; - this.queryParams.params["endActiveTime"] = this.daterangeActiveTime[1]; + this.queryParams.params['beginActiveTime'] = this.daterangeActiveTime[0]; + this.queryParams.params['endActiveTime'] = this.daterangeActiveTime[1]; } // 判断是否是admin角色 // if (this.$store.state.user.roles.indexOf("admin") === -1) {