From e009b8a346b305ba00d57aa6d56427c85bf7d5a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liu=20=E5=AE=87=E9=98=B3?= Date: Mon, 11 Nov 2024 12:03:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=EF=BC=9A=E5=B0=8F=E6=94=B9?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Comment/index.tsx | 8 +++++--- src/pages/Web/index.tsx | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/pages/Comment/index.tsx b/src/pages/Comment/index.tsx index 2e96cba..64b324d 100644 --- a/src/pages/Comment/index.tsx +++ b/src/pages/Comment/index.tsx @@ -1,8 +1,12 @@ import { useState, useEffect } from 'react'; + +import TextArea from 'antd/es/input/TextArea'; import { Card, message, Table, Popconfirm, Button, Modal, Form, Input, DatePicker } from 'antd'; -import { addCommentDataAPI, getCommentDataAPI, getCommentListAPI } from '@/api/Comment'; + +import { addCommentDataAPI, getCommentListAPI } from '@/api/Comment'; import { delCommentDataAPI } from '@/api/Comment'; import { ColumnsType } from 'antd/es/table'; + import { titleSty } from '@/styles/sty'; import Title from '@/components/Title'; import { Comment, FilterForm } from '@/types/app/comment' @@ -10,8 +14,6 @@ import { Comment, FilterForm } from '@/types/app/comment' import { useWebStore, useUserStore } from '@/stores' import dayjs from 'dayjs'; -import TextArea from 'antd/es/input/TextArea'; -import { sendCommentEmailAPI } from '@/api/Email'; const CommentPage = () => { const web = useWebStore(state => state.web) diff --git a/src/pages/Web/index.tsx b/src/pages/Web/index.tsx index 8bcf351..21ec452 100644 --- a/src/pages/Web/index.tsx +++ b/src/pages/Web/index.tsx @@ -202,7 +202,7 @@ const LinkPage = () => { <Card className="WebPage mt-2"> - <Tabs activeKey={tab} tabPosition="left" onChange={handleTabChange} items={tabItems} /> + <Tabs activeKey={tab} tabPosition="top" onChange={handleTabChange} items={tabItems} /> </Card> </> );