mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-05-05 16:03:29 +08:00
删除记录,成功的话结果很明显,无需消息提醒
This commit is contained in:
@@ -812,7 +812,6 @@ export default {
|
||||
},
|
||||
removeHistoryItem (e) {
|
||||
history.remove(e.id).then(res => {
|
||||
this.$message.success('删除历史记录成功~')
|
||||
this.getAllhistory()
|
||||
}).catch(err => {
|
||||
this.$message.warning('删除历史记录失败, 错误信息: ' + err)
|
||||
|
||||
@@ -263,8 +263,6 @@ export default {
|
||||
recommendation.remove(e.id).then(res => {
|
||||
if (res) {
|
||||
this.$message.warning('删除失败')
|
||||
} else {
|
||||
this.$message.success('删除成功')
|
||||
}
|
||||
this.getRecommendations()
|
||||
})
|
||||
|
||||
@@ -241,8 +241,6 @@ export default {
|
||||
star.remove(e.id).then(res => {
|
||||
if (res) {
|
||||
this.$message.warning('删除失败')
|
||||
} else {
|
||||
this.$message.success('删除成功')
|
||||
}
|
||||
this.getFavorites()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user