|
|
|
@ -75,7 +75,6 @@ import { mapActions, mapMutations, mapState } from 'vuex';
|
|
|
|
|
import { addOrRemoveTrackFromPlaylist } from '@/api/playlist';
|
|
|
|
|
import { cloudDiskTrackDelete } from '@/api/user';
|
|
|
|
|
import { isAccountLoggedIn } from '@/utils/auth';
|
|
|
|
|
const { clipboard } = require('electron');
|
|
|
|
|
|
|
|
|
|
import TrackListItem from '@/components/TrackListItem.vue';
|
|
|
|
|
import ContextMenu from '@/components/ContextMenu.vue';
|
|
|
|
@ -270,7 +269,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
copyLink() {
|
|
|
|
|
clipboard.writeText(
|
|
|
|
|
navigator.clipboard.writeText(
|
|
|
|
|
`https://music.163.com/song?id=${this.rightClickedTrack.id}`
|
|
|
|
|
);
|
|
|
|
|
this.showToast(locale.t('toast.copied'));
|
|
|
|
|