Explorar o código

fix show graph

allen %!s(int64=2) %!d(string=hai) anos
pai
achega
6d09ff4c90

+ 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