Browse Source

fix:页面导出抛出异常时,关闭蒙层

ly 10 months ago
parent
commit
2c646cfff8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/business/collect/detail/collectDetail.vue

+ 2 - 0
src/views/business/collect/detail/collectDetail.vue

@@ -261,6 +261,8 @@ const handleExport  = () =>{
   });
   exportCollection(queryParams.value,'收款明细导出.xlsx').then(()=>{
     downloadLoadingInstance.close();
+  }).catch(()=>{
+    downloadLoadingInstance.close();
   });
 }
 //组件激活时调用