ソースを参照

没有内容时隐藏关系列表标题(3417)

zhangxc 5 年 前
コミット
cdd44c6101
1 ファイル変更3 行追加0 行削除
  1. 3 0
      src/js/participle.js

+ 3 - 0
src/js/participle.js

@@ -111,6 +111,7 @@ function getEntityPredict(){
                 $('#resultBoxInfo').html('')
                 $('.empty').css("display","block");
                 $('.analying').css("display","none");
+                $('.tableTitle').css("display","none");
                 $('table').css("display","none");
             }
         }
@@ -211,6 +212,7 @@ function getRelationList(relationList,entryList){
         $('.empty').css("display","none");
         $('.analying').css("display","none")
         $('table').css("display","table")
+        $('.tableTitle').css("display","table")
     }
     $('.relationBody').html(str)
 }
@@ -246,6 +248,7 @@ $("#infoTxt").bind("input propertychange",function(event){
         $('#resultBoxInfo').html('')
         $('.empty').css("display","block");
         $('table').css("display","none")
+        $('.tableTitle').css("display","none");
     }else{
         $('#analy').removeClass('disabled')
     }