|
|
@@ -734,7 +734,8 @@ function getList(refresh = false) {
|
|
|
}
|
|
|
})
|
|
|
if (active1.value == "照片卷" && casePhotoList.value && casePhotoList.value.length) {
|
|
|
- handlItem2(res[0]);
|
|
|
+ let item = res.find((ele) => ele.id == casePhotoItem.value.id) || res[0];
|
|
|
+ handlItem2(item);
|
|
|
}
|
|
|
});
|
|
|
updateByTreeFileLists(caseId.value).then((res) => {
|
|
|
@@ -834,6 +835,7 @@ async function handleAdd() {
|
|
|
const handleClick = (a) => {
|
|
|
let { paneName, childrenListvalue } = a;
|
|
|
let newImgsrcList = [];
|
|
|
+ casePhotoItem.value.id = "";
|
|
|
let index = list.value.findIndex((item) => item.filesTypeName == paneName);
|
|
|
let childrenLists = list.value[index].childrenList;
|
|
|
if (childrenListvalue && show.value) {
|