feat: 弱化下载功能 默认隐藏下载列表按钮 在设置中配置打开

This commit is contained in:
alger
2025-01-26 00:20:08 +08:00
parent c6ca63ee11
commit 1493ab7317
6 changed files with 54 additions and 12 deletions
+8 -1
View File
@@ -27,7 +27,14 @@
<!-- 底部音乐播放 -->
<play-bar v-show="isPlay" :style="isMobile && store.state.musicFull ? 'bottom: 0;' : ''" />
<!-- 下载管理抽屉 -->
<download-drawer v-if="isElectron" />
<download-drawer
v-if="
isElectron &&
(store.state.setData?.alwaysShowDownloadButton ||
store.state.showDownloadDrawer ||
store.state.hasDownloadingTasks)
"
/>
</div>
<install-app-modal v-if="!isElectron"></install-app-modal>
<update-modal v-if="isElectron" />