lrf402788946 4 năm trước cách đây
mục cha
commit
b628378c5b
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      app/service/school.js

+ 3 - 1
app/service/school.js

@@ -168,9 +168,11 @@ class SchoolService extends CrudService {
 
   // 获取导入的XLSX文件中的数据
   async getImportXLSXData(filepath, termid, schid, planid, planyearid, type, batchid) {
-    console.warn(filepath);
+    console.group('filepath');
+    console.log(filepath);
     const file = await this.ctx.curl(filepath);
     console.log(file);
+    console.groupEnd();
     const workbook = XLSX.read(file.data);
     console.log(workbook);
     // 读取内容