axios 封装

This commit is contained in:
”chenxuelian“
2022-12-24 16:44:08 +08:00
parent eeb0f904d1
commit b37ed47032
3 changed files with 12 additions and 4 deletions

View File

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