forked from wangziqi/gongxue-base
fix: replace deprecated antd Space direction→orientation
This commit is contained in:
@@ -461,7 +461,7 @@ const ClassDetailPage: React.FC = () => {
|
|||||||
onOk={handleAddTeacher}
|
onOk={handleAddTeacher}
|
||||||
onCancel={() => setTeacherModalOpen(false)}
|
onCancel={() => setTeacherModalOpen(false)}
|
||||||
>
|
>
|
||||||
<Space direction="vertical" style={{ width: '100%' }}>
|
<Space orientation="vertical" style={{ width: '100%' }}>
|
||||||
<Select
|
<Select
|
||||||
style={{ width: '100%' }}
|
style={{ width: '100%' }}
|
||||||
placeholder="选择教师"
|
placeholder="选择教师"
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ const PermissionsPage: React.FC = () => {
|
|||||||
onChange={(e) => !e.target.value && setSearch('')}
|
onChange={(e) => !e.target.value && setSearch('')}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<Space direction="vertical" style={{ width: '100%' }} size={16}>
|
<Space orientation="vertical" style={{ width: '100%' }} size={16}>
|
||||||
{filteredTree.map((group) => (
|
{filteredTree.map((group) => (
|
||||||
<Card
|
<Card
|
||||||
key={group.group}
|
key={group.group}
|
||||||
|
|||||||
Reference in New Issue
Block a user