From 409af1ddaf559c51fc0dac77f40929d00e34b671 Mon Sep 17 00:00:00 2001
From: Bruce CHEN <805899926@qq.com>
Date: Wed, 6 Mar 2024 13:22:00 +0800
Subject: [PATCH] # add link
---
src/layout/Header.tsx | 10 ++++-----
src/menu/index.tsx | 6 +++++
src/util/basic.ts | 4 ++++
src/view/cf-best/cdn/index.tsx | 40 +++++++++++++++++++++-------------
4 files changed, 40 insertions(+), 20 deletions(-)
diff --git a/src/layout/Header.tsx b/src/layout/Header.tsx
index bf57ecb..be63d40 100644
--- a/src/layout/Header.tsx
+++ b/src/layout/Header.tsx
@@ -1,8 +1,8 @@
import React from "react";
-import {Layout, Menu} from 'antd';
-import {Link} from "react-router-dom";
-import menus, {MenuModel} from "@/menu";
+import { Layout, Menu } from 'antd';
+import { Link } from "react-router-dom";
+import menus, { MenuModel } from "@/menu";
function recursiveMenu(menus: MenuModel[]) {
@@ -26,7 +26,7 @@ function recursiveMenu(menus: MenuModel[]) {
{t.icon}
{t.name}
- {t.path && }
+ {t.path && }
)
})
@@ -45,7 +45,7 @@ export default class Header extends React.Component {
alignItems: 'center',
}}
>
-