소스 검색

fix:修复数据中心获取产品属性列表示提示productKey为空的问题

microrain 1 년 전
부모
커밋
954d93ed9c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/system/datahub/source/component/editNode.vue

+ 1 - 1
src/views/system/datahub/source/component/editNode.vue

@@ -262,7 +262,7 @@ export default defineComponent({
 				state.detail = res.data;
 				if (res.data.from == 4) {
 					//propertyData
-					api.node.getpropertyList({ key: res.data.deviceConfig.productKey }).then((re: any) => {
+					api.node.getpropertyList({ productKey: res.data.deviceConfig.productKey }).then((re: any) => {
 						state.propertyData = re;
 					});
 				}