Prechádzať zdrojové kódy

fix: 修复文字错误

yanglzh 9 mesiacov pred
rodič
commit
5eea9143b7

+ 1 - 1
src/views/iot/device/instance/component/subDeviceMutipleBind.vue

@@ -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">

+ 1 - 1
src/views/iot/property/deviceMap/index.vue

@@ -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)
 		}