fix:dataV

This commit is contained in:
wangzenghua 2025-04-17 06:55:19 +01:00
parent 32f6aea3f2
commit 8b8843636b

View File

@ -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');
}, },