Browse Source

rt

bugfix/10.0
XiaXiang 6 years ago
parent
commit
d74aadb9e2
  1. 4
      designer-base/src/main/java/com/fr/design/mainframe/vcs/common/VcsHelper.java

4
designer-base/src/main/java/com/fr/design/mainframe/vcs/common/VcsHelper.java

@ -122,7 +122,7 @@ public class VcsHelper implements JTemplateActionListener {
* *
* @param jt * @param jt
*/ */
public void dealWithVcs(final JTemplate jt) { public void fireVcs(final JTemplate jt) {
new Thread(new Runnable() { new Thread(new Runnable() {
@Override @Override
public void run() { public void run() {
@ -165,7 +165,7 @@ public class VcsHelper implements JTemplateActionListener {
@Override @Override
public void templateSaved(JTemplate<?, ?> jt) { public void templateSaved(JTemplate<?, ?> jt) {
if (DesignerEnvManager.getEnvManager().getVcsConfigManager().isVcsEnable() && !FineClusterConfig.getInstance().isCluster()) { if (DesignerEnvManager.getEnvManager().getVcsConfigManager().isVcsEnable() && !FineClusterConfig.getInstance().isCluster()) {
dealWithVcs(jt); fireVcs(jt);
} }
} }

Loading…
Cancel
Save