forked from Gitlink/forgeplus-react
提交结果-上传文件login
This commit is contained in:
parent
7017dfedcd
commit
0bc4dedbb6
|
|
@ -229,7 +229,7 @@ export const UploadFile: FC<PageProps> = ({ user, cancelUpload, ...props }) => {
|
|||
item.status = 'uploading'
|
||||
item.file.status = 'uploading'
|
||||
const res = await _uploadFiles(item, {
|
||||
login: user?.userInfo?.login,
|
||||
login: user?.eduUserInfo?.login,
|
||||
container_type: props.container_type,
|
||||
container_id: props.container_id,
|
||||
description: props.description
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ const ShixunsListPage: FC<PageProps> = ({
|
|||
}
|
||||
setConfirmLoading(true);
|
||||
const resulr=await uploadFile(fileList[0],{
|
||||
login:user.userInfo?.login,
|
||||
login:user.eduUserInfo?.login,
|
||||
container_type:"Competition",
|
||||
container_id: shixunsDetail.actionTabs.params.id,
|
||||
stage_type:shixunsDetail.actionTabs.params.value,
|
||||
|
|
|
|||
|
|
@ -692,6 +692,10 @@ async function JoinTeams(name: any) {
|
|||
onOk={()=>{
|
||||
setVisible(false);
|
||||
setisshowmodal(true);
|
||||
dispatch({
|
||||
type: 'user/getUserInfo',
|
||||
payload: {}
|
||||
})
|
||||
}}/>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -655,6 +655,10 @@ const competitionsIndexPage: FC<PageProps> = ({
|
|||
onOk={()=>{
|
||||
setVisible(false);
|
||||
setisshowmodal(true);
|
||||
dispatch({
|
||||
type: 'user/getUserInfo',
|
||||
payload: {}
|
||||
})
|
||||
}}/>
|
||||
</section>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue