modify plugin name
This commit is contained in:
+7
-4
@@ -146,10 +146,13 @@ class Pagination extends Component
|
|||||||
return $this->output();
|
return $this->output();
|
||||||
}
|
}
|
||||||
[$length, $data] = $this->get();
|
[$length, $data] = $this->get();
|
||||||
|
try {
|
||||||
$this->executed($data, $param);
|
call_user_func($this->_callback, $data, $param);
|
||||||
|
} catch (\Throwable $exception) {
|
||||||
unset($data);
|
$this->addError($exception, 'throwable');
|
||||||
|
} finally {
|
||||||
|
$data = null;
|
||||||
|
}
|
||||||
if ($length < $this->_limit) {
|
if ($length < $this->_limit) {
|
||||||
return $this->output();
|
return $this->output();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user