mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 01:04:25 +08:00
code refactor
This commit is contained in:
+2
-2
@@ -74,8 +74,8 @@ Framework7.use(Framework7Vue);
|
|||||||
|
|
||||||
const i18n = new VueI18n(getI18nOptions());
|
const i18n = new VueI18n(getI18nOptions());
|
||||||
|
|
||||||
Vue.prototype.$version = version.getVersion;
|
Vue.prototype.$version = version.getVersion();
|
||||||
Vue.prototype.$buildTime = version.getBuildTime;
|
Vue.prototype.$buildTime = version.getBuildTime();
|
||||||
|
|
||||||
Vue.prototype.$licenses = licenses;
|
Vue.prototype.$licenses = licenses;
|
||||||
Vue.prototype.$constants = {
|
Vue.prototype.$constants = {
|
||||||
|
|||||||
@@ -66,10 +66,10 @@
|
|||||||
export default {
|
export default {
|
||||||
computed: {
|
computed: {
|
||||||
version() {
|
version() {
|
||||||
return 'v' + this.$version();
|
return 'v' + this.$version;
|
||||||
},
|
},
|
||||||
buildTime() {
|
buildTime() {
|
||||||
return this.$buildTime();
|
return this.$buildTime;
|
||||||
},
|
},
|
||||||
licenses() {
|
licenses() {
|
||||||
return this.$licenses;
|
return this.$licenses;
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
version() {
|
version() {
|
||||||
return 'v' + this.$version();
|
return 'v' + this.$version;
|
||||||
},
|
},
|
||||||
allLanguages() {
|
allLanguages() {
|
||||||
return this.$locale.getAllLanguages();
|
return this.$locale.getAllLanguages();
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
version() {
|
version() {
|
||||||
return 'v' + this.$version();
|
return 'v' + this.$version;
|
||||||
},
|
},
|
||||||
allLanguages() {
|
allLanguages() {
|
||||||
return this.$locale.getAllLanguages();
|
return this.$locale.getAllLanguages();
|
||||||
|
|||||||
Reference in New Issue
Block a user