diff --git a/src/pages/Dashboard/components/Stats/components/VisitorsStatisChat/index.tsx b/src/pages/Dashboard/components/Stats/components/VisitorsStatisChat/index.tsx
index badda10..ca5e1c9 100644
--- a/src/pages/Dashboard/components/Stats/components/VisitorsStatisChat/index.tsx
+++ b/src/pages/Dashboard/components/Stats/components/VisitorsStatisChat/index.tsx
@@ -222,6 +222,10 @@ export default () => {
case "year":
const yearlySums: { [year: string]: { pv: number, ip: number } } = {};
+ console.log(result.items);
+ console.log(result.items[0]);
+
+
result.items[0].forEach((dateArray: string[], index: number) => {
const date: string = dateArray[0];
const [year, month, day] = date.split('/');
diff --git a/src/pages/Tag/index.tsx b/src/pages/Tag/index.tsx
index 6ff6309..171b23f 100644
--- a/src/pages/Tag/index.tsx
+++ b/src/pages/Tag/index.tsx
@@ -107,26 +107,28 @@ export default () => {
-
- {/* */}
-
-
-
-
+
+
+ {/* */}
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
{
getCateList()
}, []);
- const columns: ColumnsType = [
+ const columns: ColumnsType = [
{
title: 'ID',
dataIndex: 'id',
@@ -65,7 +65,7 @@ export default () => {
title: '分类',
dataIndex: 'cate',
key: 'cate',
- render: ({ name }, { color }) => {name},
+ render: ({ name }, { color }) => {name},
},
{
title: '名称',
@@ -77,7 +77,7 @@ export default () => {
dataIndex: 'content',
key: 'content',
width: 400,
- render: (text: string, record) => {
+ render: (text: string, record: Wall) => {
setWall(record)
setIsModalOpen(true)
}}>{text}
diff --git a/src/pages/Web/index.tsx b/src/pages/Web/index.tsx
index e6f22cb..284f626 100644
--- a/src/pages/Web/index.tsx
+++ b/src/pages/Web/index.tsx
@@ -178,7 +178,7 @@ export default () => {
{
Object.keys(list).map((key) => (
-
+
{key}
diff --git a/src/styles/customAntd.scss b/src/styles/customAntd.scss
index 9d744c0..86bb877 100644
--- a/src/styles/customAntd.scss
+++ b/src/styles/customAntd.scss
@@ -7,4 +7,13 @@
padding: 8px 10px;
}
}
+}
+
+// 暗色适配
+.ant-card {
+ @apply overflow-hidden dark:border-strokedark dark:bg-boxdark;
+
+ .ant-card-body {
+ @apply dark:bg-boxdark;
+ }
}
\ No newline at end of file