mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 01:14:50 +08:00
修复任务运行状态展示
This commit is contained in:
@@ -19,6 +19,12 @@ export default {
|
||||
hideInMenu: true,
|
||||
component: '@/pages/login/index',
|
||||
},
|
||||
{
|
||||
path: '/crontab',
|
||||
name: '定时任务',
|
||||
icon: <FieldTimeOutlined />,
|
||||
component: '@/pages/crontab/index',
|
||||
},
|
||||
{
|
||||
path: '/cookie',
|
||||
name: 'Cookie管理',
|
||||
@@ -37,12 +43,6 @@ export default {
|
||||
icon: <FormOutlined />,
|
||||
component: '@/pages/diy/index',
|
||||
},
|
||||
{
|
||||
path: '/crontab',
|
||||
name: '定时任务',
|
||||
icon: <FieldTimeOutlined />,
|
||||
component: '@/pages/crontab/index',
|
||||
},
|
||||
{
|
||||
path: '/diff',
|
||||
name: '对比工具',
|
||||
|
||||
@@ -31,7 +31,7 @@ export default function (props: any) {
|
||||
|
||||
useEffect(() => {
|
||||
if (props.location.pathname === '/') {
|
||||
history.push('/cookie');
|
||||
history.push('/crontab');
|
||||
}
|
||||
}, [props.location.pathname]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user