Merge pull request #1041 from hotlcc/feature/develop-fix-position-logic

位置计算逻辑完备性处理,可以解决在frame中底部laydate下端被遮挡的问题。
pull/1045/head
贤心 2022-06-20 19:16:35 +08:00 committed by GitHub
commit 92b3ed8651
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -175,6 +175,8 @@
if(obj.clickType === 'right'){
top = winArea() - elemHeight - margin*2;
if(top < 0) top = 0; //不能溢出窗口顶部
} else {
top = margin; // 位置计算逻辑完备性处理
}
}
}