优化代码

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>
import config from './config'
import store from '@/store'
import { getToken } from '@/utils/auth'
export default {

View File

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