mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-11 20:19:26 +08:00
XX
This commit is contained in:
@@ -34,9 +34,9 @@ namespace AIStudio.Wpf.SFC.ViewModels
|
||||
|
||||
}
|
||||
|
||||
protected override void Init(IDiagramViewModel root)
|
||||
protected override void Init(IDiagramViewModel root, bool initNew)
|
||||
{
|
||||
base.Init(root);
|
||||
base.Init(root, initNew);
|
||||
CustomText = true;
|
||||
|
||||
if (diChangedSubscription != null)
|
||||
@@ -47,6 +47,11 @@ namespace AIStudio.Wpf.SFC.ViewModels
|
||||
diChangedSubscription = WhenPropertyChanged.Where(o => o.ToString() == "Value").Throttle(TimeSpan.FromSeconds(random.Next(1,10))).Subscribe(OnValueChanged);//Sample
|
||||
}
|
||||
|
||||
protected override void InitNew()
|
||||
{
|
||||
base.InitNew();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 输入
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user