|
|
@ -1,7 +1,6 @@ |
|
|
import { useQuery } from '@tanstack/react-query'; |
|
|
import { useQuery } from '@tanstack/react-query'; |
|
|
import { Card, Col, Form, List, Row, Select, Typography } from 'antd'; |
|
|
import { Card, Col, Form, List, Row, Select, Typography } from 'antd'; |
|
|
import dayjs from 'dayjs'; |
|
|
import dayjs from 'dayjs'; |
|
|
import relativeTime from 'dayjs/plugin/relativeTime'; |
|
|
|
|
|
import type { FC } from 'react'; |
|
|
import type { FC } from 'react'; |
|
|
import { useState } from 'react'; |
|
|
import { useState } from 'react'; |
|
|
import { AvatarList, StandardFormRow, TagSelect } from '@/components'; |
|
|
import { AvatarList, StandardFormRow, TagSelect } from '@/components'; |
|
|
@ -10,8 +9,6 @@ import type { ListItemDataType } from './data.d'; |
|
|
import { queryFakeList } from './service'; |
|
|
import { queryFakeList } from './service'; |
|
|
import useStyles from './style.style'; |
|
|
import useStyles from './style.style'; |
|
|
|
|
|
|
|
|
dayjs.extend(relativeTime); |
|
|
|
|
|
|
|
|
|
|
|
const FormItem = Form.Item; |
|
|
const FormItem = Form.Item; |
|
|
const { Paragraph } = Typography; |
|
|
const { Paragraph } = Typography; |
|
|
const getKey = (id: string, index: number) => `${id}-${index}`; |
|
|
const getKey = (id: string, index: number) => `${id}-${index}`; |
|
|
|