mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 09:34:31 +08:00
修复获取定时任务参数
This commit is contained in:
@@ -367,7 +367,7 @@ const Crontab = () => {
|
||||
|
||||
const getCrons = async (silent?: boolean) => {
|
||||
if (!silent) setLoading(true);
|
||||
const { page, size, sorter, filters } = pageConf;
|
||||
const { page = 1, size = 10, sorter, filters = '{}' } = pageConf;
|
||||
let url = `${config.apiPrefix
|
||||
}crons?searchValue=${searchText}&page=${page}&size=${size}&filters=${JSON.stringify(
|
||||
filters,
|
||||
|
||||
Reference in New Issue
Block a user