fix: replace deprecated antd Space direction→orientation
This commit is contained in:
@@ -461,7 +461,7 @@ const ClassDetailPage: React.FC = () => {
|
||||
onOk={handleAddTeacher}
|
||||
onCancel={() => setTeacherModalOpen(false)}
|
||||
>
|
||||
<Space direction="vertical" style={{ width: '100%' }}>
|
||||
<Space orientation="vertical" style={{ width: '100%' }}>
|
||||
<Select
|
||||
style={{ width: '100%' }}
|
||||
placeholder="选择教师"
|
||||
|
||||
Reference in New Issue
Block a user