mirror of https://github.com/layui/layui
				
				
				
			优化 table 某些情况在 Firefox 的报错问题
							parent
							
								
									8406f4944b
								
							
						
					
					
						commit
						0a6fff466a
					
				| 
						 | 
				
			
			@ -896,6 +896,9 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
 | 
			
		|||
  // 重置表格尺寸/结构
 | 
			
		||||
  Class.prototype.resize = function(){
 | 
			
		||||
    var that = this;
 | 
			
		||||
 | 
			
		||||
    if (!that.layMain) return;
 | 
			
		||||
 | 
			
		||||
    that.fullSize(); // 让表格铺满
 | 
			
		||||
    that.setColsWidth(); // 自适应列宽
 | 
			
		||||
    that.scrollPatch(); // 滚动条补丁
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue