修复脚本管理编辑交互,修复ico无法加载

This commit is contained in:
hanhh
2021-08-19 23:46:26 +08:00
parent f86892cef0
commit d9a9d2ee4f
20 changed files with 50 additions and 35 deletions
+1 -3
View File
@@ -31,7 +31,6 @@ import { PageContainer } from '@ant-design/pro-layout';
import { request } from '@/utils/http';
import CronModal from './modal';
import CronLogModal from './logModal';
import { useCtx, useTheme } from '@/utils/hooks';
const { Text } = Typography;
const { Search } = Input;
@@ -59,7 +58,7 @@ enum OperationPath {
'stop',
}
const Crontab = () => {
const Crontab = ({ headerStyle, isPhone }: any) => {
const columns = [
{
title: '任务名',
@@ -203,7 +202,6 @@ const Crontab = () => {
const [selectedRowIds, setSelectedRowIds] = useState<string[]>([]);
const [currentPage, setCurrentPage] = useState(1);
const [pageSize, setPageSize] = useState(20);
const { headerStyle, isPhone } = useCtx();
const getCrons = () => {
setLoading(true);