소스 검색

选择专利导出excel档问题

zhuliu 1 년 전
부모
커밋
c815604af1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/project/patentCollection/index.vue

+ 1 - 1
src/views/project/patentCollection/index.vue

@@ -644,7 +644,7 @@ export default {
     //导出专利
     async handleExport(val) {
       if (val) {
-        if ( this.endNumber < 1 || this.queryParams.isAdd.length == 0) {
+        if ( this.endNumber < 1 && this.queryParams.isAdd.length == 0) {
           this.$message.error('请先选择专利')
           return false
         }