浏览代码

修改tab渲染

zhangxc 5 年之前
父节点
当前提交
db8c5152c3
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/js/graphMap.js
  2. 1 1
      src/js/schemaMap.js

+ 1 - 1
src/js/graphMap.js

@@ -360,7 +360,7 @@ function getNode(val, type){
                             $(".radioList").hide()
                             $(".radioList").hide()
                             setTabBottomHei(2)
                             setTabBottomHei(2)
                         }
                         }
-                        let renderTabInfo = getTab("疾病") 
+                        let renderTabInfo = getTab(select_type) 
                         renderTab(renderTabInfo)
                         renderTab(renderTabInfo)
                     
                     
                 })
                 })

+ 1 - 1
src/js/schemaMap.js

@@ -154,7 +154,7 @@ function getNode(val, type){
                             $(".radioList").hide()
                             $(".radioList").hide()
                             setTabBottomHei(2)
                             setTabBottomHei(2)
                         }
                         }
-                        let renderTabInfo = getTab("疾病") 
+                        let renderTabInfo = getTab("select_type") 
                         renderTab(renderTabInfo)
                         renderTab(renderTabInfo)
                    
                    
                 })
                 })