forked from wangziqi/gongxue-base
fix: remove ellipsis from student name column, give it 120px width
This commit is contained in:
@@ -15,7 +15,7 @@ import OperationLogsPage from './pages/OperationLogs';
|
|||||||
import UsersPage from './pages/Users';
|
import UsersPage from './pages/Users';
|
||||||
import ClassroomsPage from './pages/Classrooms';
|
import ClassroomsPage from './pages/Classrooms';
|
||||||
import DepositsPage from './pages/Deposits';
|
import DepositsPage from './pages/Deposits';
|
||||||
import ClassroomsPage from './pages/Classrooms';
|
import TeachersPage from './pages/Teachers';
|
||||||
import StudentProfilePage from './pages/StudentProfile';
|
import StudentProfilePage from './pages/StudentProfile';
|
||||||
import ClassesPage from './pages/Classes';
|
import ClassesPage from './pages/Classes';
|
||||||
import ClassDetailPage from './pages/Classes/detail';
|
import ClassDetailPage from './pages/Classes/detail';
|
||||||
|
|||||||
@@ -222,7 +222,7 @@ const StudentsPage: React.FC = () => {
|
|||||||
|
|
||||||
const columns = [
|
const columns = [
|
||||||
{ title: 'ID', dataIndex: 'id', width: 70 },
|
{ title: 'ID', dataIndex: 'id', width: 70 },
|
||||||
{ title: '姓名', dataIndex: 'name', ellipsis: true },
|
{ title: '姓名', dataIndex: 'name', width: 120 },
|
||||||
{ title: '性别', dataIndex: 'gender', width: 70 },
|
{ title: '性别', dataIndex: 'gender', width: 70 },
|
||||||
{
|
{
|
||||||
title: '电话',
|
title: '电话',
|
||||||
|
|||||||
Reference in New Issue
Block a user