mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-17 16:36:03 +08:00
解决多租户导致设备不显示问题
This commit is contained in:
@@ -452,9 +452,9 @@ export default {
|
|||||||
this.queryParams.params["endActiveTime"] = this.daterangeActiveTime[1];
|
this.queryParams.params["endActiveTime"] = this.daterangeActiveTime[1];
|
||||||
}
|
}
|
||||||
// 判断是否是admin角色
|
// 判断是否是admin角色
|
||||||
if (this.$store.state.user.roles.indexOf("admin") === -1) {
|
// if (this.$store.state.user.roles.indexOf("admin") === -1) {
|
||||||
this.queryParams.userId = this.$store.state.user.userId
|
// this.queryParams.userId = this.$store.state.user.userId
|
||||||
}
|
// }
|
||||||
listDeviceShort(this.queryParams).then(response => {
|
listDeviceShort(this.queryParams).then(response => {
|
||||||
this.deviceList = response.rows;
|
this.deviceList = response.rows;
|
||||||
this.total = response.total;
|
this.total = response.total;
|
||||||
|
|||||||
Reference in New Issue
Block a user