onLoad() { /* 调用市场信息的接口 分别 vuex获取 其他三项 */ this.$u.api.getTreasureList({ marketId: this.vuex_user.market_id, pageNo: 1, pageSize: 20, type:this.current+1, releaseBureau:this.releaseBureau, name:this.name }).then(res => { if (res.data.code == 200) { this.tableData = res.data.data.records console.log(1) console.log(res) } }) }, methods: { cheange(index) { console.log(index) this.current = index console.log(this.list[index].name) this.$u.api.getTreasureList({ marketId: this.vuex_user.market_id, pageNo: 1, pageSize: 20, type:this.current+1, releaseBureau:this.releaseBureau, name:this.name }).then(res => { if (res.data.code == 200) { this.tableData = res.data.data.records console.log(1) console.log(this.tableData) } }) } }