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>
|
|