Skip to content

Commit 367bd0e

Browse files
committed
测试
1 parent 8f89c3d commit 367bd0e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
GH_TOKEN=7d2166f485858c3b2f90f784dd3c8213c996c380
1+
GH_TOKEN=e6b3c80d135bb3367fcf4628d424f2514224296d

src/page/setting.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ export default Vue.extend({
128128
},
129129
checkUpdate () {
130130
fly.get('https://api.github.com/repos/Hunlongyu/ZY-Player/releases/latest').then(res => {
131+
this.newVersion = res.data.tag_name
131132
if (res.data.tag_name !== this.oldVersion) {
132-
this.newVersion = res.data.tag_name
133133
this.download = true
134134
} else {
135135
this.download = false

0 commit comments

Comments
 (0)