瀏覽代碼

修改点击搜索传值

zhangxc 5 年之前
父節點
當前提交
0c04e034e5
共有 2 個文件被更改,包括 2 次插入2 次删除
  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
                     }