Merge pull request 'axios 封装' (#23) from chenxuelian into dev

Reviewed-on: http://git.hchyun.com/feashow/pupil/pulls/23
This commit is contained in:
1171906056
2022-12-24 08:45:21 +00:00
3 changed files with 12 additions and 4 deletions

View File

@@ -104,6 +104,11 @@
//关闭下拉刷新
uni.stopPullDownRefresh()
},
onLoad() {
this.$apiServe.getCategories().then(res => {
console.log(res)
}).finally(_ => {})
},
methods: {
//点击一级分类
// click(listIndex) {