diff --git a/src/views/point/PointInfo.vue b/src/views/point/PointInfo.vue index 5a6b659..875f42d 100644 --- a/src/views/point/PointInfo.vue +++ b/src/views/point/PointInfo.vue @@ -170,7 +170,8 @@ }); }, point() { - dictionaryApi.pointDictionary('profile').then(res => { + //TODO 这里的参数删除了一个值为profile的字符串,这个值应该是一个profile的具体的id值,服务端端口移除了这个路径参数,此处暂时先写'' + dictionaryApi.pointDictionary('').then(res => { this.findObject(this.listOption.column,'pointId').dicData = res.data.records; }).catch(() => { }); diff --git a/src/views/point/PointValue.vue b/src/views/point/PointValue.vue index 6fa13a1..5bd3923 100644 --- a/src/views/point/PointValue.vue +++ b/src/views/point/PointValue.vue @@ -157,7 +157,8 @@ }); }, point() { - dictionaryApi.pointDictionary('profile').then(res => { + //TODO 这里的参数删除了一个值为profile的字符串,这个值应该是一个profile的具体的id值,服务端端口移除了这个路径参数,此处暂时先写'' + dictionaryApi.pointDictionary('').then(res => { this.findObject(this.listOption.column, 'pointId').dicData = res.data.records; }).catch(() => { });