diff --git a/pages/player.vue b/pages/player.vue index 6b16626f..0f0d793d 100644 --- a/pages/player.vue +++ b/pages/player.vue @@ -360,7 +360,6 @@ { - indexStore.msgAlert('success', 'Import success!', 2) + .then((response) => { + indexStore.msgAlert('success', response, 2) playlistStore.getPlaylist(listDate.value) }) .catch((e: string) => { @@ -748,7 +747,6 @@ async function importPlaylist(imp: boolean) { playlistStore.isLoading = false textFile.value = null - fileImport.value.value = null } async function savePlaylist(save: boolean) {