zhuliu 1 year ago
parent
commit
8b362af72c

+ 1 - 1
src/views/components/dialog/menuDialog/contrast.vue

@@ -247,7 +247,7 @@ export default {
             contrastList.push(this.form)
         }
         this.$message.success(message)
-        this.$store.commit("SET_CONTEXT_MENU",contrastList)
+        this.$store.commit("SET_PATENT_CONTRAST",contrastList)
     },
     //文件上传
     change(file,fileList){

+ 2 - 1
src/views/project/patentDetails/index.vue

@@ -92,6 +92,7 @@ export default {
     this.getMenuPrice()
     this.getComponents()
     if(this.reportType == 1 || this.reportType == 2){
+      this.$store.commit("SET_PATENT_CONTRAST",[])
       this.getContrast()
     }
     
@@ -126,7 +127,7 @@ export default {
               return item
             })
             contrastList.push(...data)
-            this.$store.commit("SET_CONTEXT_MENU",contrastList)
+            this.$store.commit("SET_PATENT_CONTRAST",contrastList)
           }
         }
       })