mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-23 22:34:10 +08:00
fix: 计划任务分页调整
This commit is contained in:
parent
a9a45ce5ac
commit
796d47d60e
1 changed files with 2 additions and 1 deletions
|
@ -403,6 +403,7 @@ const onHandle = async (row: Cronjob.CronjobInfo) => {
|
|||
.then(() => {
|
||||
loading.value = false;
|
||||
MsgSuccess(i18n.global.t('commons.msg.operationSuccess'));
|
||||
searchInfo.pageSize = searchInfo.pageSize * searchInfo.page;
|
||||
searchInfo.page = 1;
|
||||
records.value = [];
|
||||
search();
|
||||
|
@ -457,8 +458,8 @@ const search = async () => {
|
|||
|
||||
const onRefresh = () => {
|
||||
records.value = [];
|
||||
searchInfo.pageSize = searchInfo.pageSize * searchInfo.page;
|
||||
searchInfo.page = 1;
|
||||
searchInfo.pageSize = 8;
|
||||
search();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue