index.tsx 352 Bytes
import { useNavigate } from 'react-router-dom';
import { VButton, VResult } from '@venus/ui';

export default function NotFound() {
  const nav = useNavigate();
  return (
    <VResult
      status="404"
      title="404"
      subTitle="页面不存在"
      extra={<VButton onClick={() => nav('/dashboard')}>返回工作台</VButton>}
    />
  );
}