home.vue
478 Bytes
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
35
36
37
38
39
40
41
42
43
44
45
<template>
<view style="height: 100%;">
</view>
</template>
<script>
import {
postMenu,
getMenu
} from '@/config/api.js';
export default {
data() {
return {
}
},
onLoad() {
// 发出post,假设需要带上token
postMenu({
custom: {
auth: true
}
}).then(() => {
}).catch(() => {
})
},
onShow() {
},
methods: {
}
}
</script>
<style lang="scss" scoped>
</style>