lrf402788946 4 лет назад
Родитель
Сommit
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);