修复js控制台报错
This commit is contained in:
@@ -600,9 +600,10 @@ window.onload=function(){
|
||||
heightDiv();
|
||||
},500);
|
||||
|
||||
if($('.table-responsive')){
|
||||
var tableCont = document.querySelector('.table-responsive');
|
||||
if(tableCont !=null && tableCont!=''){
|
||||
function scrollHandle (e){
|
||||
console.log(this);
|
||||
var scrollTop = this.scrollTop;
|
||||
$('th').css('transform','translateY(' + scrollTop + 'px)');
|
||||
$('thead tr').css('z-index','2147482468');
|
||||
@@ -612,6 +613,8 @@ window.onload=function(){
|
||||
}
|
||||
tableCont.addEventListener('scroll',scrollHandle);
|
||||
$('#contentTable').attr("margin-top",'0px');
|
||||
}
|
||||
}
|
||||
}
|
||||
var setInterceptDefaultInfo=function(cfgId){
|
||||
var action=$("input[name='action']:checked").val();
|
||||
|
||||
Reference in New Issue
Block a user