Browse Source

REPORT-101035 【版本管理三期】版本中心删除模板的所有版本,版本中心没有实时刷新

newui
Destiny.Lin 1 year ago
parent
commit
ea877e280a
  1. 2
      designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/VcsCenterPane.java

2
designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/VcsCenterPane.java

@ -112,6 +112,8 @@ public class VcsCenterPane extends VcsNewPane {
JOptionPane.QUESTION_MESSAGE);
if (selVal == JOptionPane.YES_OPTION) {
VcsOperatorWorker.createDeleteWorker().doDelete(entity);
model.getList().remove(o);
model.fireTableDataChanged();
}
DesignerContext.getDesignerFrame().openTemplate(new FileNodeFILE(new FileNode(getTemplateTruePath(fileName), false)));
}

Loading…
Cancel
Save