From 7e00d8c0d6204ec0e2bd48566fb8425171f90149 Mon Sep 17 00:00:00 2001 From: kerwincui <164770707@qq.com> Date: Wed, 18 May 2022 20:56:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=A4=9A=E7=A7=9F=E6=88=B7?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E8=AE=BE=E5=A4=87=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vue/src/views/iot/device/index.vue b/vue/src/views/iot/device/index.vue index fbba0adf..bc8000d8 100644 --- a/vue/src/views/iot/device/index.vue +++ b/vue/src/views/iot/device/index.vue @@ -452,9 +452,9 @@ export default { this.queryParams.params["endActiveTime"] = this.daterangeActiveTime[1]; } // 判断是否是admin角色 - if (this.$store.state.user.roles.indexOf("admin") === -1) { - this.queryParams.userId = this.$store.state.user.userId - } + // if (this.$store.state.user.roles.indexOf("admin") === -1) { + // this.queryParams.userId = this.$store.state.user.userId + // } listDeviceShort(this.queryParams).then(response => { this.deviceList = response.rows; this.total = response.total;