Kaynağa Gözat

修改下载方案

yuanmingze 13 saat önce
ebeveyn
işleme
4f9a80e20b

+ 0 - 3
src/views/servicePackageMonitoring/riskEventAudit/index.vue

@@ -493,7 +493,6 @@ export default {
 
     async downInfo() {
       try {
-        this.exportLoading = true;
         // 拼接日期,格式为 年/月
         const dateStr = dayjs().format('YYYY-MM');
         const fileName = `监督任务数据${dateStr}.xlsx`;
@@ -507,8 +506,6 @@ export default {
         document.body.appendChild(link);
         link.click();
         document.body.removeChild(link);
-
-        this.exportLoading = false;
       } catch (err) {
         console.error('下载出错:', err);
         this.exportLoading = false;