/* 第一步定义onload方法 */ onLoad(){ /* 调用市场信息的接口 分别 vuex获取 其他三项 */ this.$u.api.getpartyList({marketId:this.vuex_user.market_id,type:"通知公告",pageNo:1,pageSize :20}).then(res=>{ if(res.data.code==200){ this.tableData=res.data.data.records console.log(1) console.log(this.tableData) } }) },