mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-11-03 05:54:03 +08:00
当有更新时,刷新list列表
This commit is contained in:
@@ -130,12 +130,14 @@ export default {
|
||||
name: res.name,
|
||||
site: e.site,
|
||||
type: res.type,
|
||||
year: res.year
|
||||
year: res.year,
|
||||
note: res.note
|
||||
}
|
||||
star.update(e.id, doc).then(res => {
|
||||
var msg = `同步"${e.name}"成功, 检查到更新。`
|
||||
this.$message.success(msg)
|
||||
})
|
||||
this.getStarList()
|
||||
}
|
||||
}).catch(err => {
|
||||
var msg = `同步"${e.name}"失败, 请重试。`
|
||||
|
||||
Reference in New Issue
Block a user