This commit is contained in:
邓皓元 2019-04-19 11:39:28 +08:00
parent 00c51c0162
commit 368995b4db

View File

@ -61,7 +61,7 @@ class CardController extends Controller
$cards->push(new OrderCardPartition(['sim' => $value, 'company_id' => 0]));
if($cards instanceof LengthAwarePaginator){
$cards = new LengthAwarePaginator($cards->items(), $cards->total + 1, $cards->perPage());
$cards = new LengthAwarePaginator($cards->items(), $cards->total() + 1, $cards->perPage());
}
}
}