From e2519c0170f6fc0aff944e2551c95497dc735de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liu=20=E5=AE=87=E9=98=B3?= Date: Mon, 18 Nov 2024 15:05:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9A=E5=9B=9E=E5=A4=8D?= =?UTF-8?q?=E8=AF=84=E8=AE=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Comment/index.tsx | 5 ++++- .../components/Other/components/Email/index.tsx | 2 +- src/pages/Setup/index.tsx | 14 +++++++------- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/pages/Comment/index.tsx b/src/pages/Comment/index.tsx index 9685587..30c7733 100644 --- a/src/pages/Comment/index.tsx +++ b/src/pages/Comment/index.tsx @@ -191,12 +191,15 @@ const CommentPage = () => { setIsCommentModalOpen(false)} footer={null}>
所属文章: {comment?.articleTitle}
-
评论时间: {dayjs(comment?.createTime).format("YYYY-MM-DD HH:mm:ss")}
+
评论时间: {dayjs(+comment?.createTime!).format("YYYY-MM-DD HH:mm:ss")}
评论用户: {comment?.name}
邮箱: {comment?.email ? comment?.email : "暂无邮箱"}
网站: {comment?.url ? {comment?.url} : '无网站'}
内容: {comment?.content}
+ + +
setIsReplyModalOpen(false)}> diff --git a/src/pages/Setup/components/Other/components/Email/index.tsx b/src/pages/Setup/components/Other/components/Email/index.tsx index b122090..ff132cc 100644 --- a/src/pages/Setup/components/Other/components/Email/index.tsx +++ b/src/pages/Setup/components/Other/components/Email/index.tsx @@ -1,4 +1,4 @@ -import { Button, Form, Input, message, Spin } from "antd" +import { Button, Form, Input, message } from "antd" import { editOtherDataAPI, getOtherDataAPI } from "@/api/Project"; import { useEffect, useState } from "react"; diff --git a/src/pages/Setup/index.tsx b/src/pages/Setup/index.tsx index a20d347..9716a46 100644 --- a/src/pages/Setup/index.tsx +++ b/src/pages/Setup/index.tsx @@ -47,12 +47,12 @@ const SetupPage = () => { icon: , key: "my" }, - { - title: "其他设置", - description: "杂七八乱的各种配置", - icon: , - key: "other" - } + // { + // title: "其他设置", + // description: "杂七八乱的各种配置", + // icon: , + // key: "other" + // } ]; return ( @@ -82,7 +82,7 @@ const SetupPage = () => { {active === "web" && } {active === "layout" && } {active === "my" && } - {active === "other" && } + {/* {active === "other" && } */}