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(() => {
|
.then(() => {
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
MsgSuccess(i18n.global.t('commons.msg.operationSuccess'));
|
MsgSuccess(i18n.global.t('commons.msg.operationSuccess'));
|
||||||
|
searchInfo.pageSize = searchInfo.pageSize * searchInfo.page;
|
||||||
searchInfo.page = 1;
|
searchInfo.page = 1;
|
||||||
records.value = [];
|
records.value = [];
|
||||||
search();
|
search();
|
||||||
|
@ -457,8 +458,8 @@ const search = async () => {
|
||||||
|
|
||||||
const onRefresh = () => {
|
const onRefresh = () => {
|
||||||
records.value = [];
|
records.value = [];
|
||||||
|
searchInfo.pageSize = searchInfo.pageSize * searchInfo.page;
|
||||||
searchInfo.page = 1;
|
searchInfo.page = 1;
|
||||||
searchInfo.pageSize = 8;
|
|
||||||
search();
|
search();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue