1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| Vue.component('comloading', {
| props: ["active"],
| data: function () {
| return {
| son2: this.active,
| }
| },
| methods: {
| onChange(index) {
| },
| },
| template: (
| ' <div class="loading-mask">'
| + ' <van-loading size="24px" color="#fff" vertical>拼命加载中...</van-loading>'
| + ' </div>'
|
| )
| })
|
|