diff --git a/designer-realize/src/main/java/com/fanruan/boot/env/function/DesignReportBaseComponent.java b/designer-realize/src/main/java/com/fanruan/boot/env/function/DesignReportBaseComponent.java index 7d2f3fd224..50bce512aa 100644 --- a/designer-realize/src/main/java/com/fanruan/boot/env/function/DesignReportBaseComponent.java +++ b/designer-realize/src/main/java/com/fanruan/boot/env/function/DesignReportBaseComponent.java @@ -5,6 +5,7 @@ import com.fanruan.carina.annotions.DependsOn; import com.fanruan.carina.annotions.FineComponent; import com.fanruan.carina.annotions.Start; import com.fanruan.carina.annotions.Stop; +import com.fr.report.VcsContext; /** * DesignReportBaseComponent @@ -22,7 +23,7 @@ public class DesignReportBaseComponent extends ReportBaseComponent { */ @Start public void start() { - super.start(); + VcsContext.init(); } /** @@ -30,6 +31,6 @@ public class DesignReportBaseComponent extends ReportBaseComponent { */ @Stop public void stop() { - super.stop(); + VcsContext.reset(); } }