mirror of
https://github.com/yangzongzhuan/RuoYi-App.git
synced 2025-09-27 14:42:41 +00:00
优化代码
This commit is contained in:
1
App.vue
1
App.vue
@@ -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 {
|
||||||
|
@@ -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: {
|
||||||
|
Reference in New Issue
Block a user