mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
令工作台启动时切换画布,尽可能触发UI节点获取适配器、刷新节点之间的连线显示。
This commit is contained in:
@@ -50,6 +50,14 @@ namespace Serein.Workbench.ViewModels
|
||||
partial void OnSelectedTabChanged(FlowEditorTabModel value)
|
||||
{
|
||||
flowNodeService.CurrentSelectCanvas = value?.Content;
|
||||
if(value is not null)
|
||||
{
|
||||
App.UIContextOperation.Invoke(() => {
|
||||
|
||||
value.Content.RefreshAllLine();
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user