liweilong
2020-12-16 7661a83ac24a39e84641438bac89cc24efe1561e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<template>
  <div class="app-container">
    <h1 style="text-align: center;margin-top: 5%">欢迎来到“项目名称"</h1>
  </div>
</template>
 
<script>
 
import { getUserData } from '@/utils/auth' // get token from session
export default {
  name: 'Dashboard',
  data() {
    return {
      name: ''
    }
  },
  mounted() {
    this.init()
  },
  methods: {
    init() {
      console.log(getUserData())
    }
  }
}
</script>
 
<style lang="scss" scoped>
</style>