zhangxc 5 lat temu
rodzic
commit
d8dd3e12c4
2 zmienionych plików z 2 dodań i 0 usunięć
  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()