Explorar el Código

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

loki.wu hace 2 años
padre
commit
a011d0094c
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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);
       });