添加歌曲列表更新操作的二次确认

This commit is contained in:
lyswhut
2022-06-13 12:57:25 +08:00
parent 2884e67109
commit 283bdd6246
5 changed files with 11 additions and 1 deletions
@@ -352,7 +352,13 @@ export default {
this.handleExportList(index)
break
case 'sync':
this.handleSyncSourceList(userLists[index])
this.$dialog.confirm({
message: this.$t('lists__sync_confirm_tip', { name: userLists[index].name }),
confirmButtonText: this.$t('lists__remove_tip_button'),
}).then(isSync => {
if (!isSync) return
this.handleSyncSourceList(userLists[index])
})
break
case 'remove':
this.$dialog.confirm({