完成获取全部接口代码重构

This commit is contained in:
宇阳
2024-08-17 15:34:39 +08:00
parent bd35e09eb8
commit 7c43f2ef49
9 changed files with 21 additions and 56 deletions

View File

@@ -2,11 +2,11 @@ import { useState, useEffect } from 'react';
import { Spin, Card, message, Table, Popconfirm, Button, Tag, Modal } from 'antd';
import { getCommentListAPI } from '@/api/Comment';
import { auditCommentDataAPI, delCommentDataAPI } from '@/api/Comment';
import dayjs from 'dayjs';
import { ColumnsType } from 'antd/es/table';
import { titleSty } from '@/styles/sty';
import Title from '@/components/Title';
import { Comment } from '@/types/app/comment'
import dayjs from 'dayjs';
const CommentPage = () => {
const [loading, setLoading] = useState(false);