|
@@ -854,6 +854,12 @@ namespace PDF_Office.ViewModels
|
|
{
|
|
{
|
|
case "Guid":
|
|
case "Guid":
|
|
//打开内嵌文档
|
|
//打开内嵌文档
|
|
|
|
+ if(App.OpenedFileList.Contains(App.GuidPDFPath))
|
|
|
|
+ {
|
|
|
|
+ //如果已经打开时,则选中内嵌文档
|
|
|
|
+ App.mainWindowViewModel.SelectItem(App.GuidPDFPath);
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
if (File.Exists(App.GuidPDFPath))
|
|
if (File.Exists(App.GuidPDFPath))
|
|
{
|
|
{
|
|
App.mainWindowViewModel.AddTabItem(App.GuidPDFPath);
|
|
App.mainWindowViewModel.AddTabItem(App.GuidPDFPath);
|