@@ -18,7 +18,7 @@
</template>
</el-table-column>
<el-table-column label="设备名称" prop="name" show-overflow-tooltip v-col="'name'" />
- <el-table-column label="产品名称" prop="productName" show-overflow-tooltip v-col="'productName'" />
+ <el-table-column label="产品名称" prop="product.name" show-overflow-tooltip v-col="'productName'" />
<el-table-column prop="status" label="状态" width="100" align="center" v-col="'status'">
<template #default="scope">
@@ -77,7 +77,7 @@ async function setMarker() {
const list = (device || []).filter((row: any) => row.lat && row.lng)
if (!list.length) {
- ElMessage.warning('改产品在不存在有坐标的设备!')
+ ElMessage.warning('该产品在不存在有坐标的设备!')
return map.centerAndZoom('四川', 5)
}