From 367bd0ebd7b5126df53ebc2f067ce5d9a3061f02 Mon Sep 17 00:00:00 2001 From: hunlongyu Date: Mon, 20 Jan 2020 18:08:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- src/page/setting.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 67f443f..150bb29 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -GH_TOKEN=7d2166f485858c3b2f90f784dd3c8213c996c380 \ No newline at end of file +GH_TOKEN=e6b3c80d135bb3367fcf4628d424f2514224296d \ No newline at end of file diff --git a/src/page/setting.vue b/src/page/setting.vue index b674362..252460c 100644 --- a/src/page/setting.vue +++ b/src/page/setting.vue @@ -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