Browse Source

修改点击搜索传值

zhangxc 5 năm trước cách đây
mục cha
commit
0c04e034e5
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      src/js/graphMap.js
  2. 1 1
      src/js/schemaMap.js

+ 1 - 1
src/js/graphMap.js

@@ -330,7 +330,7 @@ function getNode(val, type){
                 const clientHei = $(window).height()
                 const contentHei = clientHei - 80
                 $(".tabNameList").hide()
-                getGraph(val,select_type_noSearch).then(()=>{
+                getGraph(txt,select_type_noSearch).then(()=>{
                     if(!window.refreshTree){
                       
                         return

+ 1 - 1
src/js/schemaMap.js

@@ -125,7 +125,7 @@ function getNode(val, type){
                 const clientHei = $(window).height()
                 const contentHei = clientHei - 80
                 $(".tabNameList").hide()
-                getSchema(val,select_type_noSearch).then(()=>{
+                getSchema(txt,select_type_noSearch).then(()=>{
                     if(!window.refreshTree){
                         return
                     }