mirror of
https://github.com/yangzongzhuan/RuoYi-App.git
synced 2025-06-07 05:19:08 +00:00
优化代码
This commit is contained in:
parent
fb0656fe14
commit
c3d9e4e913
1
App.vue
1
App.vue
@ -1,6 +1,5 @@
|
||||
<script>
|
||||
import config from './config'
|
||||
import store from '@/store'
|
||||
import { getToken } from '@/utils/auth'
|
||||
|
||||
export default {
|
||||
|
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user