|
@@ -68,8 +68,10 @@ $("#searchInp").bind("input propertychange",function(event){
|
|
//搜索
|
|
//搜索
|
|
$('#searchBtn').click(function(){
|
|
$('#searchBtn').click(function(){
|
|
const val = $('#searchInp').val()
|
|
const val = $('#searchInp').val()
|
|
- getGraph(val,'diagnose')
|
|
|
|
- updateTree(val)
|
|
|
|
|
|
+ if(val){
|
|
|
|
+ getGraph(val,'diagnose')
|
|
|
|
+ updateTree(val)
|
|
|
|
+ }
|
|
})
|
|
})
|
|
|
|
|
|
//切换tab
|
|
//切换tab
|