👼 设置里添加版本号

This commit is contained in:
hunlongyu
2020-05-07 15:21:40 +08:00
parent 9b1995e596
commit 420bf12c79
2 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "zy",
"version": "0.9.19",
"version": "0.9.21",
"private": true,
"author": {
"name": "Hunlongyu",

View File

@@ -4,7 +4,7 @@
<div class="logo"><img src="@/assets/image/logo.png"></div>
<div class="info">
<a @click="linkOpen('https://github.com/Hunlongyu/ZY-Player')">{{$t('website')}}</a>
<a @click="linkOpen('https://github.com/Hunlongyu/ZY-Player/issues')">{{$t('issues')}}</a>
<a @click="linkOpen('https://github.com/Hunlongyu/ZY-Player/issues')">{{$t('issues')}} v{{pkg.version}}</a>
</div>
<div class="change">
<div class="zy-select" @mouseleave="show.language = false">
@@ -63,10 +63,12 @@ import setting from '../lib/dexie/setting'
import { sites } from '../lib/site/sites'
import '../lib/cloud/index.js'
import { shell } from 'electron'
import pkg from '../../package.json'
export default {
name: 'setting',
data () {
return {
pkg: pkg,
s: {},
languages: [
{