lrf402788946 il y a 4 ans
Parent
commit
7e64401475
1 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. 5 5
      src/views/student/index.vue

+ 5 - 5
src/views/student/index.vue

@@ -260,11 +260,11 @@ export default {
       const obj = { ...data, model };
       const msg = this.$message({ duration: 0, message: '正在导出,请稍后...' });
       const res = await this.toExport(obj);
-      // msg.close();
-      // if (this.$checkRes(res)) {
-      //   const { data } = res;
-      //   window.open(data);
-      // }
+      msg.close();
+      if (this.$checkRes(res)) {
+        const { data } = res;
+        window.open(data);
+      }
     },
     getTerm(termid) {
       console.log(termid);