fix: PermissionButton 包裹 Upload 时添加 type=text 消除外层按钮白底
This commit is contained in:
@@ -276,7 +276,7 @@ const StudentsPage: React.FC = () => {
|
||||
>
|
||||
添加学生
|
||||
</PermissionButton>
|
||||
<PermissionButton permission="student:import">
|
||||
<PermissionButton permission="student:import" type="text">
|
||||
<Upload
|
||||
accept=".xlsx,.xls"
|
||||
showUploadList={false}
|
||||
|
||||
Reference in New Issue
Block a user