mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-07-04 18:46:10 +08:00
测试
This commit is contained in:
@@ -128,8 +128,8 @@ export default Vue.extend({
|
||||
},
|
||||
checkUpdate () {
|
||||
fly.get('https://api.github.com/repos/Hunlongyu/ZY-Player/releases/latest').then(res => {
|
||||
this.newVersion = res.data.tag_name
|
||||
if (res.data.tag_name !== this.oldVersion) {
|
||||
this.newVersion = res.data.tag_name
|
||||
this.download = true
|
||||
} else {
|
||||
this.download = false
|
||||
|
||||
Reference in New Issue
Block a user