lrf402788946 4 năm trước cách đây
mục cha
commit
6cadc3a545
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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() {
     async toExportList() {
       const msg = this.$message({ duration: 0, message: '正在导出,请稍后...' });
       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();
       msg.close();
       if (this.$checkRes(res)) {
       if (this.$checkRes(res)) {
         const { data } = res;
         const { data } = res;