Merge pull request #1041 from hotlcc/feature/develop-fix-position-logic
位置计算逻辑完备性处理,可以解决在frame中底部laydate下端被遮挡的问题。
This commit is contained in:
		
						commit
						92b3ed8651
					
				@ -175,6 +175,8 @@
 | 
			
		||||
        if(obj.clickType === 'right'){
 | 
			
		||||
          top = winArea() - elemHeight - margin*2;
 | 
			
		||||
          if(top < 0) top = 0; //不能溢出窗口顶部
 | 
			
		||||
        } else {
 | 
			
		||||
          top = margin; // 位置计算逻辑完备性处理
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user