fix: git branch name (#771)
This commit is contained in:
parent
8a66174477
commit
9a167ee990
3 changed files with 11 additions and 3 deletions
|
@ -36,7 +36,7 @@ const handleShowCommit = () => {
|
|||
<template #content>
|
||||
<div font-mono>
|
||||
<span>{{ buildInfo.env === 'release' ? `v${buildInfo.version}` : buildInfo.env }}</span>
|
||||
<span v-if="showCommit"> ({{ buildInfo.commit.slice(0, 7) }})</span>
|
||||
<span v-if="showCommit"> ({{ buildInfo.commit.slice(0, 7) }}@{{ buildInfo.branch }})</span>
|
||||
</div>
|
||||
</template>
|
||||
</SettingsItem>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue