Browse Source

feat: update

gemercheung 7 months ago
parent
commit
9987e888ce
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/view/case/photos/index.vue

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

@@ -53,6 +53,7 @@
         >
         <el-button @click="handleSave" class="save">保存</el-button>
         <el-button
+        v-if="newlist.length > 0"
           @click="handleExport"
           class="opt"
           :loading="!isSenseLoaded"
@@ -247,16 +248,15 @@ const renderCanvas = () => {
   });
   scene.on("submitScreenshot", (save) => {
     if (window.scene) {
-
       const params = {
         files: window.scene.blobScreens.map(
           (b, index) => new File([b], `${Date.now()}-${index}.jpg`)
         ),
         caseId: caseId.value,
       };
+
       setTimeout(async () => {
         try {
-          console.log('参数',params)
           const res = await submitMergePhotos(params);
           console.log("res", res);
           const { data, code } = res;