保存作品提交
This commit is contained in:
parent
f9a4895419
commit
f44595652c
|
|
@ -307,7 +307,8 @@ const WorkSubmit: FC<PageProps> = ({
|
|||
Data["name"] = values.name;
|
||||
Data["url"] = values.url;
|
||||
}
|
||||
if (modelType == 1 && fileList.length == 0) {
|
||||
const hasNewFile = fileList[0] instanceof File;
|
||||
if ((modelType == 1 && (fileList.length == 0 || !hasNewFile)) || (modelType == 2 && !hasNewFile)) {
|
||||
res = await dispatch({
|
||||
type: 'competitions/getWorkSubmitUpdateRes',
|
||||
payload: {
|
||||
|
|
|
|||
|
|
@ -126,8 +126,8 @@ export default function request(url: string, option: any, flag?: boolean) {
|
|||
|
||||
let newOptions = { ...defaultOptions, ...options }
|
||||
let eduHeader = {
|
||||
'X-Edu-Signature':'d8f677f925d3ce1427e7d917660661ce',
|
||||
'X-Edu-Timestamp':'1783058819780',
|
||||
'X-Edu-Signature':'543a093f1c514959673a0cc5af80bde5',
|
||||
'X-Edu-Timestamp':'1784017604961',
|
||||
'X-Edu-Type':'pc',
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue