mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 16:07:33 +08:00
Upgrade to vue3 (#16)
* upgrade to vue 3.x and framework7 8.x * change calendar plugin to vue-datepicker * disable export button when user does not hava any transaction * implement new pin code input * append thousands separator in amount in exchange rates page
This commit is contained in:
+4
-4
@@ -1,15 +1,15 @@
|
||||
export default {
|
||||
getVersion: () => {
|
||||
let version = process.env.VERSION || 'unknown';
|
||||
let commitHash = process.env.COMMIT_HASH;
|
||||
let version = __EZBOOKKEEPING_VERSION__ || 'unknown'; // eslint-disable-line
|
||||
let commitHash = __EZBOOKKEEPING_BUILD_COMMIT_HASH__; // eslint-disable-line
|
||||
|
||||
if (commitHash) {
|
||||
return `${version} (${commitHash.substr(0, Math.min(7, commitHash.length))})`
|
||||
return `${version} (${commitHash.substring(0, Math.min(7, commitHash.length))})`
|
||||
} else {
|
||||
return version;
|
||||
}
|
||||
},
|
||||
getBuildTime: () => {
|
||||
return process.env.BUILD_UNIXTIME;
|
||||
return __EZBOOKKEEPING_BUILD_UNIX_TIME__; // eslint-disable-line
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user