lrf402788946 4 년 전
부모
커밋
85f4a75cc4
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/views/student/index.vue

+ 2 - 0
src/views/student/index.vue

@@ -234,8 +234,10 @@ export default {
       }
     },
     async toExportExcel() {
+      const msg = this.$message({ duration: 0, message: '正在导出,请稍后...' });
       let duplicate = _.cloneDeep(this.exportInfo);
       const res = await this.toExport(duplicate);
+      msg.close();
       if (this.$checkRes(res)) {
         const { data } = res;
         window.open(data);