|
@@ -206,12 +206,12 @@ const saveHandler = async () => {
|
|
|
const route = router.currentRoute.value;
|
|
|
const getFunction = route.name == 'drawShareFile' ? addUserOrUpDate : addByMediaLiBrary
|
|
|
const rse = await getFunction({ ...body, caseId: args.caseId,filesTypeId: args.type != BoardType.scene ? fmtId.value : pmtId.value, uploadId: data.id, fileUrl: data.fileUrl, imgType: 0 });
|
|
|
- if (args.inAdd) {
|
|
|
- router.replace({
|
|
|
- name: RouteName.drawCaseFile,
|
|
|
- params: { caseId: args.caseId, type: args.type, id: rse.filesId },
|
|
|
- });
|
|
|
- }
|
|
|
+ // if (args.inAdd) {
|
|
|
+ // router.replace({
|
|
|
+ // name: RouteName.drawCaseFile,
|
|
|
+ // params: { caseId: args.caseId, type: args.type, id: rse.filesId },
|
|
|
+ // });
|
|
|
+ // }
|
|
|
await nextTick();
|
|
|
setTimeout(() => {
|
|
|
// location.reload();
|