DAO
SERVICE
Controller
Route::get('race_order/list', 'v1.order.RaceOrderController/lst')
->name('orderList')->option(['real_name' => '订单列表']); //订单列表
uniapp
export function getRaceOrderList(data) {
return request.get('race_order/list', data);
}
getRaceOrderList({
// type: that.orderStatus,
page: that.page,
limit: that.limit
})
.then(res => {
let list = res.data || [];
let loadend = list.length < that.limit;
that.orderList = that.$util.SplitArray(list, that.orderList);
that.$set(that, 'orderList', that.orderList);
that.loadend = loadend;
that.loading = false;
that.loadTitle = loadend ? that.$t(`没有更多内容啦~`) : that.$t(`加载更多`);
that.page = that.page + 1;
})
.catch(err => {
that.loading = false;
that.loadTitle = that.$t(`加载更多`);
});
为什么报错啊。。。。
实在是找不到问题在哪里了。。。。
【产品名称】:CRMEB标准版
【产品版本】:5.3
【部署方式】:phpstudy
【部署环境】:本地环境
【php版本】:7.3
【Mysql版本】:5.7
【使用终端】:小程序