Browse Source

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

loki.wu 2 năm trước cách đây
mục cha
commit
a011d0094c
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      lib/report_edit.dart

+ 2 - 0
lib/report_edit.dart

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