diff --git a/src/compenents/footer/index.tsx b/src/compenents/footer/index.tsx
index ad1301e..7c84f2c 100644
--- a/src/compenents/footer/index.tsx
+++ b/src/compenents/footer/index.tsx
@@ -1,32 +1,21 @@
import React from "react";
-import { Layout, Typography } from "antd";
+import { Layout } from "antd";
export const Footer: React.FC = () => {
return (
-
- © 2021 PlayEdu • 粤ICP备20026280号-01
-
-
- Powered By 杭州白书科技
-
+
);
};
diff --git a/src/pages/dashboard/compenents/pie.tsx b/src/pages/dashboard/compenents/pie.tsx
deleted file mode 100644
index 8b2d787..0000000
--- a/src/pages/dashboard/compenents/pie.tsx
+++ /dev/null
@@ -1,40 +0,0 @@
-import React, { useState, useEffect } from "react";
-import ReactDOM from "react-dom/client";
-import { Pie } from "@ant-design/plots";
-
-const root = ReactDOM.createRoot(
- document.getElementById("root") as HTMLElement
-);
-export const DemoPie = () => {
- const data = [
- { type: "视频数", value: 27 },
- { type: "图片数", value: 25 },
- ];
- const config = {
- appendPadding: 10,
- data,
- angleField: "value",
- colorField: "type",
- radius: 1,
- innerRadius: 0.6,
- label: {
- type: "inner",
- offset: "-50%",
- content: "{value}",
- style: { textAlign: "center", fontSize: 14 },
- },
- interactions: [{ type: "element-selected" }, { type: "element-active" }],
- statistic: {
- content: {
- style: {
- whiteSpace: "pre-wrap",
- overflow: "hidden",
- textOverflow: "ellipsis",
- },
- content: "总资源数",
- },
- },
- };
- return ;
-};
-root.render();
diff --git a/src/pages/dashboard/index.tsx b/src/pages/dashboard/index.tsx
index 415cd1a..4630052 100644
--- a/src/pages/dashboard/index.tsx
+++ b/src/pages/dashboard/index.tsx
@@ -7,6 +7,7 @@ import icon from "../../assets/images/dashboard/icon-more.png";
import iconN1 from "../../assets/images/dashboard/icon-n1.png";
import iconN2 from "../../assets/images/dashboard/icon-n2.png";
import iconN3 from "../../assets/images/dashboard/icon-n3.png";
+import { Footer } from "../../compenents/footer";
export const Dashboard: React.FC = () => {
const navigate = useNavigate();
@@ -314,6 +315,7 @@ export const Dashboard: React.FC = () => {
+
>
);