mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-24 08:07:23 +08:00
feat: 优化 UI 逻辑适配移动端
This commit is contained in:
@@ -212,7 +212,11 @@ const { zoomFactor, initZoomFactor, increaseZoom, decreaseZoom, resetZoom, isZoo
|
||||
|
||||
// 显示返回按钮
|
||||
const showBackButton = computed(() => {
|
||||
return router.currentRoute.value.meta.back === true;
|
||||
const meta = router.currentRoute.value.meta;
|
||||
if (!settingsStore.isMobile && meta.isMobile === false) {
|
||||
return false;
|
||||
}
|
||||
return meta.back === true;
|
||||
});
|
||||
|
||||
// 返回上一页
|
||||
|
||||
Reference in New Issue
Block a user