mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-23 07:33:53 +08:00
23 lines
416 B
Vue
23 lines
416 B
Vue
<template>
|
|
<div class="copyright">
|
|
©2025 xiaozhi-esp32-server v{{ version }}
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { mapState } from 'vuex';
|
|
|
|
export default {
|
|
name: 'VersionFooter',
|
|
computed: {
|
|
...mapState({
|
|
version: state => state.pubConfig.version
|
|
})
|
|
},
|
|
mounted() {
|
|
this.$store.dispatch('fetchPubConfig');
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped></style> |