mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
修复视图切换页码初始值
This commit is contained in:
parent
3edc6e83d7
commit
2de189d189
|
@ -1017,6 +1017,7 @@ const Crontab = ({ headerStyle, isPhone, theme }: any) => {
|
|||
|
||||
const tabClick = (key: string) => {
|
||||
const view = enabledCronViews.find((x) => x.id == key);
|
||||
setPageConf({ ...pageConf, page: 1 });
|
||||
setViewConf(view ? view : null);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user