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()