Commit 5b816e94 authored by youxiaoji's avatar youxiaoji

* [表单提交后清空动态表单信息]

parent 7d82d6ea
......@@ -155,10 +155,10 @@ public class VisitorAppointmentTool {
@Tool(description = "提交访客预约申请")
public String submitAppointmentApply(ToolContext toolContext) {
// sharedContext.tracing().start(new Tracing.StartOptions()
// .setScreenshots(true)
// .setSnapshots(true)
// .setSources(true));
sharedContext.tracing().start(new Tracing.StartOptions()
.setScreenshots(true)
.setSnapshots(true)
.setSources(true));
......@@ -272,9 +272,9 @@ public class VisitorAppointmentTool {
}
}
infoCollectorService.clearValue();
// sharedContext.tracing().stop(new Tracing.StopOptions()
// .setPath(Paths.get("trace1.zip")));
infoCollectorService.clearInfo(pageId);
sharedContext.tracing().stop(new Tracing.StopOptions()
.setPath(Paths.get("trace1.zip")));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment