mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 16:07:33 +08:00
add build time in about page
This commit is contained in:
@@ -3,5 +3,8 @@ export default {
|
||||
let version = process.env.VERSION || 'unknown';
|
||||
let commitHash = process.env.COMMIT_HASH || 'unknown';
|
||||
return `${version}-${commitHash.substr(0, Math.min(10, commitHash.length))}`;
|
||||
},
|
||||
getBuildTime: () => {
|
||||
return process.env.BUILD_UNIXTIME;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user