//import * as WxJsApi from '@/utils/wxJsApi.js' import * as API from '@/apis/hr/my.js' import ResumeItem from '@/components/hr/ResumeItem.vue' export default { data() { return { keyword:"", pageIndex:1, recordsTotal:0, list: [ ], isReady:false, src: '/static/img/head.png', } }, components: { ResumeItem }, onLoad(op){ //this.id=op.id; }, onReachBottom() { if(this.list.length { this.list=[ ...this.list, ...res.data.data ]; this.recordsTotal=res.data.recordsTotal uni.hideLoading() }).catch(error => { uni.showToast({ title:error }) }) } },onReady(){ this.getList() this.isReady=true; },onShow(){ if(this.isReady){ } }, }