接口对接

This commit is contained in:
yanran200730
2023-03-17 14:48:30 +08:00
parent cf996ed83d
commit d53e5f3b4b
3 changed files with 145 additions and 15 deletions

View File

@@ -90,6 +90,10 @@
onLoad() {
this.getTopicList()
uni.$on('updateList', () => {
this.changeTab(this.currIndex)
})
},
methods: {
@@ -124,6 +128,7 @@
this.$loading()
this.$instance.post(`/app/appneighborhoodassistance/list`, null, {
params: {
withoutToken: this.token ? false : true,
current: this.current,
size: 10,
visibleRange: this.currIndex === 0 ? 1 : 0