1
0
tangning 1 روز پیش
والد
کامیت
00748522a4
3فایلهای تغییر یافته به همراه6 افزوده شده و 2 حذف شده
  1. 4 0
      src/view/case/photos/index.vue
  2. 1 1
      src/view/case/photos/style.scss
  3. 1 1
      src/view/material/sceneImg.vue

+ 4 - 0
src/view/case/photos/index.vue

@@ -312,6 +312,10 @@ const getImgList = async () => {
     }
   });
   let item = pageCentent.find((ele) => ele.id == id);
+  if(id && !item){//已删除
+    ElMessage.error('该段落已删除!')
+    backPageHandler()
+  }
   title.value = item?.name || "照片制卷";
   let content = item && item.content && JSON.parse(item?.content);
   // editor.value.drawAllPages(photos.value);

+ 1 - 1
src/view/case/photos/style.scss

@@ -124,7 +124,7 @@
   left: 8px;
   width: 24px;
   height: 24px;
-  background: #ffffff;
+  background: #ffffff;border: 1px solid #B2B2B2;
   font-size: 18px;
   text-align: center;
   line-height: 28px;

+ 1 - 1
src/view/material/sceneImg.vue

@@ -245,7 +245,7 @@
                   <div class="text">
                     {{ items.name }}
                   </div>
-                  <div class="operation" v-if="childrenList.value == items.id">
+                  <div class="operation" v-if="!show && childrenList.value == items.id">
                     <el-icon title="下载" @click="exportToPDF(false, items)"
                       ><Download
                     /></el-icon>