Skip to content

Commit 1ab025c

Browse files
committed
v0.8.9 移除版本相关提示
1 parent 0e359be commit 1ab025c

File tree

3 files changed

+1
-37
lines changed

3 files changed

+1
-37
lines changed

docs/player/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
let link = window.location.href
3535
let info = get('info')
3636
let time = get('time')
37-
let title = info.split('$')[0]
3837
let url = info.split('$')[1]
3938
let player = new window.HlsJsPlayer({
4039
id: 'mse',
@@ -49,7 +48,6 @@
4948
})
5049
player.on('play', function () {
5150
player.currentTime = time
52-
document.title = title
5351
})
5452
</script>
5553
</body>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zy",
3-
"version": "0.8.7",
3+
"version": "0.8.9",
44
"author": "Hunlongyu",
55
"description": "ZY Player 资源播放器",
66
"private": true,

src/page/setting.vue

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,6 @@
3333
</el-card>
3434
</el-row>
3535
</el-row>
36-
<el-row class="item update">
37-
<el-row class="title"><i class="el-icon-refresh"></i><span>更新</span></el-row>
38-
<el-row class="info">
39-
<ul>
40-
<li>当前版本: {{oldVersion}}</li>
41-
<li>最新版本: {{newVersion}}</li>
42-
</ul>
43-
</el-row>
44-
<el-row class="btns">
45-
<el-button v-show="download" size="small" @click="linkOpen('https://github.com/Hunlongyu/ZY-Player/releases/latest')">下载更新</el-button>
46-
</el-row>
47-
</el-row>
4836
<el-row class="item about">
4937
<el-row class="title"><i class="el-icon-view"></i><span>关于</span></el-row>
5038
<el-row class="info">
@@ -73,8 +61,6 @@ export default Vue.extend({
7361
sites: sites,
7462
dbSite: 0,
7563
opacity: 96,
76-
oldVersion: 'v0.8.7',
77-
newVersion: '',
7864
download: false
7965
}
8066
},
@@ -136,23 +122,12 @@ export default Vue.extend({
136122
this.$message.warning('切换主题失败~')
137123
})
138124
},
139-
checkUpdate () {
140-
fly.get('https://api.github.com/repos/Hunlongyu/ZY-Player/releases/latest').then(res => {
141-
this.newVersion = res.data.tag_name
142-
if (res.data.tag_name !== this.oldVersion) {
143-
this.download = true
144-
} else {
145-
this.download = false
146-
}
147-
})
148-
},
149125
setOpacity () {
150126
ipc.send('opacity', this.opacity / 100)
151127
}
152128
},
153129
created () {
154130
this.initSetting()
155-
this.checkUpdate()
156131
}
157132
})
158133
</script>
@@ -191,15 +166,6 @@ export default Vue.extend({
191166
}
192167
}
193168
}
194-
.update{
195-
ul{
196-
list-style: none;
197-
li{
198-
height: 30px;
199-
font-size: 14px;
200-
}
201-
}
202-
}
203169
.opacity{
204170
.info{
205171
width: 196px;

0 commit comments

Comments
 (0)