Browse Source

修复重载时报告时间为空的Bug

loki.wu 2 years ago
parent
commit
a011d0094c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lib/report_edit.dart

+ 2 - 0
lib/report_edit.dart

@@ -115,6 +115,8 @@ class _ReportEditPageState extends State<ReportEditPage> {
       _initPage();
     });
     if (args != null) {
+      ReportInfo.instance.reporter = args.reporter;
+      ReportInfo.instance.reportDate = args.reportDate;
       args.onSelect.addListener((sender, e) {
         ReportInfo.instance.selectedInputImage(e);
       });