mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-20 00:16:36 +08:00
bug修复
This commit is contained in:
@@ -33,11 +33,13 @@ namespace AIStudio.Wpf.DiagramApp.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
public PageViewModel(string title, string status, DiagramType diagramType)
|
||||
public PageViewModel(string title, string status, DiagramType diagramType, string subType = null)
|
||||
{
|
||||
Title = title;
|
||||
Status = status;
|
||||
DiagramType = diagramType;
|
||||
SubType = subType;
|
||||
Init(true);
|
||||
}
|
||||
public PageViewModel(string filename)
|
||||
{
|
||||
@@ -127,6 +129,11 @@ namespace AIStudio.Wpf.DiagramApp.ViewModels
|
||||
get; set;
|
||||
}
|
||||
|
||||
public string SubType
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
private ObservableCollection<IDiagramViewModel> _diagramViewModels;
|
||||
public ObservableCollection<IDiagramViewModel> DiagramViewModels
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user