Browse Source

Pull request #6210: REPORT-58193设计器埋点剥离二期-组件复用埋点-marketClick触发条件有问题

Merge in DESIGN/design from ~KERRY/design_10.0:release/10.0 to release/10.0

* commit 'db98d5412d61f470b92be970311ad6c14439a6fc':
  REPORT-58193设计器埋点剥离二期-组件复用埋点-marketClick触发条件有问题
zheng-1641779399395
kerry 3 years ago
parent
commit
53c8c47bf4
  1. 3
      designer-form/src/main/java/com/fr/design/mainframe/FormWidgetDetailPane.java

3
designer-form/src/main/java/com/fr/design/mainframe/FormWidgetDetailPane.java

@ -96,7 +96,8 @@ public class FormWidgetDetailPane extends FormDockView{
} }
headGroup = new UIHeadGroup(paneNames) { headGroup = new UIHeadGroup(paneNames) {
protected void tabChanged(int newSelectedIndex) { protected void tabChanged(int newSelectedIndex) {
if (newSelectedIndex == 1) { //初始化还未展示的时候不需要收集其 marketClick
if (this.isShowing() && newSelectedIndex == 1) {
ComponentCollector.getInstance().collectMarkerClick(); ComponentCollector.getInstance().collectMarkerClick();
} }
cardLayout.show(centerPane, paneList.get(newSelectedIndex).getTitle()); cardLayout.show(centerPane, paneList.get(newSelectedIndex).getTitle());

Loading…
Cancel
Save