//import * as WxJsApi from '@/utils/wxJsApi.js' import * as API from '@/apis/common.js' export default { data() { return { isReady:false, page:{ classifyId:0, pageIndex:1, pageSize:10, }, result:[], recordsTotal:0, } }, components: { }, // onPullDownRefresh() { // if(this.result.length { this.result=[ ...this.result, ...response.data.data, ]; this.recordsTotal=response.data.recordsTotal uni.stopPullDownRefresh(); uni.hideLoading() }).catch(error => { uni.showToast({ title:error }) }) }, },onReady(){ this.getList(); this.isReady=true; },onShow(){ if(this.isReady){ } }, }