mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-17 16:36:03 +08:00
分享设备列表接口以及sql修改
This commit is contained in:
@@ -452,7 +452,7 @@ export default {
|
||||
}
|
||||
// 判断是否是admin角色
|
||||
if (this.$store.state.user.roles.indexOf("admin") === -1) {
|
||||
this.queryParams.userName = this.$store.state.user.name
|
||||
this.queryParams.userId = this.$store.state.user.userId
|
||||
}
|
||||
listDeviceShort(this.queryParams).then(response => {
|
||||
this.deviceList = response.rows;
|
||||
|
||||
Reference in New Issue
Block a user