测试打印
This commit is contained in:
@@ -103,20 +103,19 @@ export default {
|
|||||||
this.tabIndex = e
|
this.tabIndex = e
|
||||||
},
|
},
|
||||||
getList() {
|
getList() {
|
||||||
|
console.log(456)
|
||||||
this.$http.post('/app/appactivityinfo/listForWX', null, {
|
this.$http.post('/app/appactivityinfo/listForWX', null, {
|
||||||
params: {
|
params: {
|
||||||
size: this.size,
|
size: this.size,
|
||||||
current: this.current,
|
current: this.current,
|
||||||
},
|
},
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
console.log(res)
|
console.log(res, 123)
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records
|
this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records
|
||||||
this.$forceUpdate()
|
|
||||||
|
|
||||||
this.total = res.data.total
|
|
||||||
this.pages = res.data.pages
|
|
||||||
}
|
}
|
||||||
|
}).catch((err) => {
|
||||||
|
console.log(err)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
toDetail(item) {
|
toDetail(item) {
|
||||||
|
|||||||
Reference in New Issue
Block a user