mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-01-19 20:42:46 +08:00
fix: bugs
This commit is contained in:
parent
1f02f6c71f
commit
b059de17fb
|
@ -122,10 +122,10 @@
|
|||
</div>
|
||||
|
||||
<ContextMenu ref="playlistTabMenu">
|
||||
<div class="item" @click="changePlaylistFilter('all')"> 全部歌单 </div>
|
||||
<div class="item" @click="changePlaylistFilter('all')">全部歌单</div>
|
||||
<hr />
|
||||
<div class="item" @click="changePlaylistFilter('mine')"> 创建的歌单 </div>
|
||||
<div class="item" @click="changePlaylistFilter('liked')">收藏的歌单 </div>
|
||||
<div class="item" @click="changePlaylistFilter('mine')">创建的歌单</div>
|
||||
<div class="item" @click="changePlaylistFilter('liked')">收藏的歌单</div>
|
||||
</ContextMenu>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -485,7 +485,6 @@ export default {
|
|||
},
|
||||
outputDevice: {
|
||||
get() {
|
||||
if (this.withoutAudioPrivilege === true) this.getAllOutputDevices();
|
||||
const isValidDevice = this.allOutputDevices.find(
|
||||
device => device.deviceId === this.settings.outputDevice
|
||||
);
|
||||
|
@ -679,9 +678,11 @@ export default {
|
|||
},
|
||||
created() {
|
||||
this.countDBSize('tracks');
|
||||
if (process.env.IS_ELECTRON) this.getAllOutputDevices();
|
||||
},
|
||||
activated() {
|
||||
this.countDBSize('tracks');
|
||||
if (process.env.IS_ELECTRON) this.getAllOutputDevices();
|
||||
},
|
||||
methods: {
|
||||
...mapActions(['showToast']),
|
||||
|
|
Loading…
Reference in New Issue
Block a user