mirror of
https://github.com/hi2shark/nazhua.git
synced 2026-01-18 02:00:43 +08:00
🪄 部分安卓浏览器渲染动画会卡顿
This commit is contained in:
parent
d11deece54
commit
31e9f61384
@ -111,6 +111,10 @@ const showTransition = computed(() => {
|
|||||||
if (config.nazhua.forceTransition) {
|
if (config.nazhua.forceTransition) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
// 安卓设备不开启 -> 部分安卓浏览器渲染动画会卡顿
|
||||||
|
if (window.navigator.userAgent.includes('Android')) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
// 服务器数量小于7时,不开启
|
// 服务器数量小于7时,不开启
|
||||||
return store.state.serverList.length < 7;
|
return store.state.serverList.length < 7;
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user