perf: 优化iPadOS兼容性

This commit is contained in:
kuaifan 2025-06-17 11:38:31 +08:00
parent bbe071545d
commit 43711a1a59
2 changed files with 2 additions and 4 deletions

View File

@ -176,6 +176,8 @@ export default {
return resolve(null)
}
$A.eeuiAppGetSafeAreaInsets().then(data => {
data.top = data.top || state.safeAreaSize?.data?.top || 0
data.bottom = data.bottom || state.safeAreaSize?.data?.bottom || 0
const proportion = data.height / window.outerHeight
state.safeAreaSize = {
top: Math.round(data.top / proportion * 100) / 100,

View File

@ -147,10 +147,6 @@
border-radius: 6px;
}
.messenger-list {
flex: 1;
height: 0;
width: 100%;
overflow-x: hidden;
ul {
> li {
&.nothing {