|
@ -184,7 +184,7 @@ const formsSuccess = async (formType, data) => { |
|
|
await ProblemSolvingApi.createProblemSolving(data) |
|
|
await ProblemSolvingApi.createProblemSolving(data) |
|
|
message.success(t('common.createSuccess')) |
|
|
message.success(t('common.createSuccess')) |
|
|
} else { |
|
|
} else { |
|
|
await ProblemSolvingApi.createProblemSolving(data) |
|
|
await ProblemSolvingApi.updateProblemSolving(data) |
|
|
message.success(t('common.updateSuccess')) |
|
|
message.success(t('common.updateSuccess')) |
|
|
} |
|
|
} |
|
|
basicFormRef.value.dialogVisible = false |
|
|
basicFormRef.value.dialogVisible = false |
|
|