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
30
31
32
33
34
| <!--
| * @Description:
| * @Author: 王旭
| * @Date: 2022-03-01 15:33:01
| * @LastEditTime: 2022-03-08 11:06:12
| * @LastEditors: 王旭
| -->
|
| <template>
| <div id="app">
| <router-view />
| </div>
| </template>
|
| <script>
| import { removeToken } from "@/utils/auth";
| export default {
| //import引入的组件需要注入到对象中才能使用
| components: {},
| data() {
| //这里存放数据
| return {};
| },
| //方法集合
| methods: {},
| created() {},
| beforeDestroy() {
| removeToken();
| },
| };
| </script>
| <style lang="less" scoped>
| //@import url(); 引入公共css类
| </style>
|
|