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
| <template>
| <div id="app">
| <router-view />
| </div>
| </template>
|
| <script>
| import common from "@/components/common";
| export default {
| name: "App",
| async beforeCreate(){
| // window.APPLoading = this.$loading({
| // lock: true,
| // text: "加载中...",
| // spinner: "el-icon-loading",
| // background: "rgba(0, 0, 0, 0.9)",
| // });
| await common.getServeData();
| }
| };
| </script>
|
| <style>
| @import "assets/App.css";
| </style>
|
|