优化代码

This commit is contained in:
RuoYi
2025-04-23 21:12:12 +08:00
parent fb0656fe14
commit c3d9e4e913
2 changed files with 1 additions and 3 deletions

View File

@@ -1,6 +1,5 @@
<script> <script>
import config from './config' import config from './config'
import store from '@/store'
import { getToken } from '@/utils/auth' import { getToken } from '@/utils/auth'
export default { export default {

View File

@@ -80,8 +80,7 @@
export default { export default {
data() { data() {
return { return {
name: this.$store.state.user.name, name: this.$store.state.user.name
version: getApp().globalData.config.appInfo.version
} }
}, },
computed: { computed: {