测试打印

This commit is contained in:
liuye
2023-01-31 11:42:49 +08:00
parent 873aa0ad16
commit 6f376aadd6

View File

@@ -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) {