feat: implement version display with commit hash and date
This commit is contained in:
@@ -35,6 +35,12 @@
|
||||
{{ t('register.alreadyHaveAccount') }} <router-link to="/login" class="text-primary-600">{{ t('login.signin') }}</router-link>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<!-- Блок версии внизу -->
|
||||
<div class="mt-6 text-center text-xs text-gray-500">
|
||||
{{ versionStore.getFormattedVersion(t) }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -42,7 +48,9 @@
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useVersionStore } from '@/stores/version'
|
||||
const { t } = useI18n()
|
||||
const versionStore = useVersionStore()
|
||||
const form = ref({ login: '', email: '', password: '' })
|
||||
const loading = ref(false)
|
||||
const error = ref('')
|
||||
|
||||
Reference in New Issue
Block a user