mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-05-05 16:03:29 +08:00
测试
This commit is contained in:
2
.env
2
.env
@@ -1 +1 @@
|
||||
GH_TOKEN=7d2166f485858c3b2f90f784dd3c8213c996c380
|
||||
GH_TOKEN=e6b3c80d135bb3367fcf4628d424f2514224296d
|
||||
@@ -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