Browse Source

REPORT-52928 快捷配置使用埋点的数据没保存

feature/10.0
kuangshuai 3 years ago
parent
commit
2a8eda2ddb
  1. 2
      designer-realize/src/main/java/com/fr/design/share/ui/config/ShareConfigPane.java

2
designer-realize/src/main/java/com/fr/design/share/ui/config/ShareConfigPane.java

@ -17,6 +17,7 @@ import com.fr.design.mainframe.DesignerFrame;
import com.fr.design.mainframe.share.collect.ComponentCollector;
import com.fr.design.mainframe.share.ui.base.PlaceholderTextArea;
import com.fr.design.mainframe.share.util.ShareComponentUtils;
import com.fr.design.share.SharableManager;
import com.fr.design.share.effect.EffectItemGroup;
import com.fr.design.share.utils.EffectItemUtils;
import com.fr.design.share.utils.ShareDialogUtils;
@ -201,6 +202,7 @@ public class ShareConfigPane extends BasicPane {
}
HistoryTemplateListCache.getInstance().getCurrentEditingTemplate().saveTemplate();
ComponentCollector.getInstance().setHelpConfigUseInfo(ShareComponentUtils.getCurrentTemplateID(), ShareComponentUtils.getWidgetId(widget));
SharableManager.saveTemplate(HistoryTemplateListCache.getInstance().getCurrentEditingTemplate());
}
});
dialog.setVisible(true);

Loading…
Cancel
Save