mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 08:19:15 +08:00
fix: 计划任务分页调整
This commit is contained in:
parent
a9a45ce5ac
commit
796d47d60e
@ -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…
x
Reference in New Issue
Block a user