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