tangning hai 7 meses
pai
achega
a40f55b68a
Modificáronse 3 ficheiros con 3 adicións e 2 borrados
  1. 1 1
      src/view/case/help.ts
  2. 1 1
      src/view/case/photos/index.vue
  3. 1 0
      src/view/material/index.vue

+ 1 - 1
src/view/case/help.ts

@@ -244,7 +244,7 @@ export const fuseImageJoinHot = async (
   hotItems.forEach((hot) => {
     const hotTitle = (hot.querySelector(".tip") as HTMLDivElement)?.innerText;
     const index = showTags.findIndex(
-      (tag) => tag.tagTitle.trim() === hotTitle.trim()
+      (tag) => tag.tagTitle.trim() === hotTitle?.trim()
     );
     if (index !== -1) {
       const bound = hot.getBoundingClientRect();

+ 1 - 1
src/view/case/photos/index.vue

@@ -263,7 +263,7 @@ const renderCanvas = () => {
           const res = await submitMergePhotos(params);
           console.log("res", res);
           const { data, code } = res;
-          const title = `${props.title}-照片卷.jpg`;
+          const title = `照片卷.jpg`;
           if (data && data.imgUrl) {
             if (save) {
               // debugger;

+ 1 - 0
src/view/material/index.vue

@@ -269,6 +269,7 @@ function downloadFile(sourceUrl, fileName,) {
 
 function handleClose(e) {
   console.log("handleClose", e);
+  dialogVisible.value = false
 }
 function handleRadioItem() {
   console.log('handleRadioItem', radio.value)