diff --git a/src/components/StudentManager.tsx b/src/components/StudentManager.tsx index 6b2ccac..404d712 100644 --- a/src/components/StudentManager.tsx +++ b/src/components/StudentManager.tsx @@ -1,7 +1,7 @@ import React, { useEffect, useMemo, useRef, useState, useCallback } from "react" -import { Table, Button, Space, message, Modal, Form, Input, Tag, Pagination } from "antd" +import { Table, Button, Space, message, Modal, Form, Input, Tag, Pagination, Dropdown } from "antd" import type { ColumnsType } from "antd/es/table" -import { UploadOutlined } from "@ant-design/icons" +import { UploadOutlined, MoreOutlined } from "@ant-design/icons" import { useTranslation } from "react-i18next" import { TagEditorDialog } from "./TagEditorDialog" import { getAvatarFromExtraJson, setAvatarInExtraJson } from "../utils/studentAvatar" @@ -631,48 +631,30 @@ export const StudentManager: React.FC<{ canEdit: boolean }> = ({ canEdit }) => { { title: t("common.operation"), key: "operation", - width: isMobile ? 150 : 220, + width: isMobile ? 96 : 110, fixed: isMobile ? "right" : undefined, render: (_, row) => ( - - - - - - + ), }, ]