add build time in about page

This commit is contained in:
MaysWind
2020-11-18 23:48:33 +08:00
parent d873778357
commit 9673cd28c6
6 changed files with 11 additions and 0 deletions
+4
View File
@@ -6,6 +6,7 @@
<f7-card-content :padding="false">
<f7-list>
<f7-list-item :title="$t('Version')" :after="version"></f7-list-item>
<f7-list-item :title="$t('Build Time')" :after="buildTime | moment($t('format.datetime.long'))"></f7-list-item>
<f7-list-item external :title="$t('Official Website')" after="https://github.com/mayswind/lab"
link="https://github.com/mayswind/lab" target="_blank"></f7-list-item>
<f7-list-item :title="$t('License')" link="#" popup-open=".license-popup"></f7-list-item>
@@ -67,6 +68,9 @@ export default {
version() {
return 'v' + this.$version();
},
buildTime() {
return this.$buildTime();
},
licenses() {
return this.$licenses;
}