1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 08:19:15 +08:00

fix: 计划任务分页调整

This commit is contained in:
ssongliu 2023-03-14 16:52:39 +08:00 committed by ssongliu
parent a9a45ce5ac
commit 796d47d60e

View File

@ -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();
};