Compare commits

..

No commits in common. "080691d675226bfdb45f1a9ec9174a8e5022a438" and "34a4eb6a9373c8b6fa3f63eab8857d6ff10af398" have entirely different histories.

2 changed files with 1 additions and 17 deletions

View File

@ -174,18 +174,6 @@ const menuItems = [
}, },
], ],
}, },
{
key: "/safetyEval/container/test",
label: "测试",
icon: <ExperimentOutlined />,
children: [
{
key: "/safetyEval/container/test/a1",
label: "A1 模块",
icon: <ExperimentOutlined />,
},
],
},
]; ];
export default menuItems; export default menuItems;

View File

@ -3,13 +3,9 @@ import { Button, Card, Result, Space, Typography } from "antd";
const { Title, Paragraph, Text } = Typography; const { Title, Paragraph, Text } = Typography;
function TestPage(props) { function TestPage() {
const [count, setCount] = React.useState(0); const [count, setCount] = React.useState(0);
if (props.children) {
return props.children;
}
return ( return (
<div style={{ padding: 24, maxWidth: 800, margin: "0 auto" }}> <div style={{ padding: 24, maxWidth: 800, margin: "0 auto" }}>
<Card> <Card>