Browse Source

REPORT-66807 Mini商城窗口启动来源埋点

【问题原因】
区分不同的启动来源,便于埋点分析

【改动思路】
同上
bugfix/11.0
Starryi 3 years ago
parent
commit
50754f75d2
  1. 2
      designer-form/src/main/java/com/fr/design/mainframe/share/ui/online/OnlineWidgetTabPane.java
  2. 4
      designer-form/src/main/java/com/fr/design/mainframe/share/ui/online/mini/MiniComponentShopDialog.java

2
designer-form/src/main/java/com/fr/design/mainframe/share/ui/online/OnlineWidgetTabPane.java

@ -104,7 +104,7 @@ public class OnlineWidgetTabPane extends JPanel {
@Override
public void actionPerformed(ActionEvent e) {
if (OnlineShopUtils.testConnection() && ComponentShareUtil.isShowMiniShopWindow()) {
MiniComponentShopDialog.getInstance().show();
MiniComponentShopDialog.getInstance().showFromOnlineRepoPane();
FormWidgetDetailPane.getInstance().switch2Local();
FormWidgetDetailPane.getInstance().enterWidgetLib();
} else {

4
designer-form/src/main/java/com/fr/design/mainframe/share/ui/online/mini/MiniComponentShopDialog.java

@ -110,6 +110,10 @@ public class MiniComponentShopDialog {
frame.setVisible(true);
}
public void showFromOnlineRepoPane() {
show();
}
public Container getContentPane() {
if (frame != null) {
return frame.getContentPane();

Loading…
Cancel
Save