lrf402788946 пре 4 година
родитељ
комит
6cadc3a545
1 измењених фајлова са 1 додато и 1 уклоњено
  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;