|
@@ -124,7 +124,7 @@ const saveHandler = async () => {
|
|
|
const body: SaveCaseFileImageInfo = {
|
|
|
caseId: args.caseId,
|
|
|
imgType: args.type,
|
|
|
- file: new File([blob], `${args.type}_${args.fileId}.png`),
|
|
|
+ file: new File([blob], `${args.type}_${args.fileId}.jpg`),
|
|
|
filesTitle: titleShape?.text || `${args.caseId}_${BoardTypeDesc[args.type]}`,
|
|
|
content: store,
|
|
|
};
|
|
@@ -132,6 +132,7 @@ const saveHandler = async () => {
|
|
|
args.inAdd || (body.filesId = props.value!.fileId);
|
|
|
|
|
|
const data = await saveCaseFileImageInfo(body);
|
|
|
+ console.log(body)
|
|
|
if (args.inAdd) {
|
|
|
router.replace({
|
|
|
name: RouteName.drawCaseFile,
|