lsc 3 недель назад
Родитель
Сommit
916f6c459f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/components/pages/studentManage/student.vue

+ 1 - 1
src/components/pages/studentManage/student.vue

@@ -355,7 +355,7 @@ export default {
         // 增加 colWidths 参数以调整列宽,例如调整为 [20, 35, 20]
         const tHeader = ["学生姓名", "学生账号(建议直接使用学号)", "班级"];
         const data = [];
-        const colWidths = [20, 35, 20]; // 设置每一列的宽度
+        const colWidths = [20, 45, 20]; // 设置每一列的宽度
         export_json_to_excel(tHeader, data, "上传学生样例", colWidths);
       });
     },