修复视图切换页码初始值

This commit is contained in:
whyour
2022-09-03 18:27:52 +08:00
parent 3edc6e83d7
commit 2de189d189
+1
View File
@@ -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);
};