lrf402788946 %!s(int64=4) %!d(string=hai) anos
pai
achega
6cadc3a545
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/classes/name-list.vue

+ 1 - 1
src/views/classes/name-list.vue

@@ -168,7 +168,7 @@ export default {
     // 导出学生名单
     async toExportList() {
       const msg = this.$message({ duration: 0, message: '正在导出,请稍后...' });
-      const res = await this.toExport({ insurance: false, classid: this.id });
+      const res = await this.toExport({ type: 'class', classid: this.id });
       msg.close();
       if (this.$checkRes(res)) {
         const { data } = res;