mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-11 18:42:54 +00:00
perf: 优化iPadOS兼容性
This commit is contained in:
parent
bbe071545d
commit
43711a1a59
2
resources/assets/js/store/actions.js
vendored
2
resources/assets/js/store/actions.js
vendored
@ -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,
|
||||
|
||||
@ -147,10 +147,6 @@
|
||||
border-radius: 6px;
|
||||
}
|
||||
.messenger-list {
|
||||
flex: 1;
|
||||
height: 0;
|
||||
width: 100%;
|
||||
overflow-x: hidden;
|
||||
ul {
|
||||
> li {
|
||||
&.nothing {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user