fix:dataV
This commit is contained in:
parent
32f6aea3f2
commit
8b8843636b
@ -158,7 +158,7 @@ export default {
|
|||||||
//排除掉摄像头
|
//排除掉摄像头
|
||||||
const { rows } = await listDevice({ baseId: this.baseId, isCamera: 0 });
|
const { rows } = await listDevice({ baseId: this.baseId, isCamera: 0 });
|
||||||
//将设备中包含的产品整理出来
|
//将设备中包含的产品整理出来
|
||||||
let p = rows.map((item) => ({ ...item, imgUrl: this.$baseUrl + item.productImgUrl.split(',')[1] }));
|
let p = rows.map((item) => ({ ...item, imgUrl: item.productImgUrl.split(',')[1] }));
|
||||||
this.productList = this._.uniqBy(p, 'productId');
|
this.productList = this._.uniqBy(p, 'productId');
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user