zhangxc 5 년 전
부모
커밋
d8dd3e12c4
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/js/graphMap.js
  2. 1 0
      src/js/schemaMap.js

+ 1 - 0
src/js/graphMap.js

@@ -324,6 +324,7 @@ function getNode(val, type){
             $(".tabNameList").show()
             $(".tabNameList li").click(function(){
                 const txt = $(this).text()
+                $('#searchInp').val(txt)
                 const clientHei = $(window).height()
                 const contentHei = clientHei - 80
                 $(".tabNameList").hide()

+ 1 - 0
src/js/schemaMap.js

@@ -119,6 +119,7 @@ function getNode(val, type){
             $(".tabNameList").show()
             $(".tabNameList li").click(function(){
                 const txt = $(this).text()
+                $('#searchInp').val(txt)
                 const clientHei = $(window).height()
                 const contentHei = clientHei - 80
                 $(".tabNameList").hide()