Browse Source

导入失败打log message

zhangweicheng 5 năm trước cách đây
mục cha
commit
edf9055112
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      modules/pm/facade/pm_facade.js

+ 1 - 1
modules/pm/facade/pm_facade.js

@@ -1683,7 +1683,7 @@ async function doDownLoadAndImport(privateDownloadUrl,info) {
                     doc.projectID = result.constructionProjectID;
                 }
             } catch (error) {
-                console.log(error);
+                console.log(error.message);
                 doc.errorMsg = "导入失败,请检查文件!";
                 doc.status = "error";
             } finally {