소스 검색

fix show graph

allen 2 년 전
부모
커밋
6d09ff4c90
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/views/knowledge/common/chart.vue
  2. 1 1
      src/views/knowledge/statistical/entityClassView.vue

+ 1 - 1
src/views/knowledge/common/chart.vue

@@ -335,7 +335,7 @@ export default {
 		 * 画zoomchart
 		 * */
 		drawChart(root, nodes, links) {
-			console.log(root, nodes, links)
+			console.log('drawChart',root, nodes, links)
 			const vm = this
 
 			g_root = root

+ 1 - 1
src/views/knowledge/statistical/entityClassView.vue

@@ -273,7 +273,7 @@
           })
           this.checkedRelClsNameList.push(name)
         }
-        links = links.concat(resp[1])
+        links = links.concat(resp[1].data)
         this.allEntClassCache = resp[0]
         this.filLinks = this.allLinksCache = links