Browse Source

其他-加密文档打开页面刷新问题

zhuyi 1 year ago
parent
commit
312dfdc8c6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Demo/Examples/PDFViewer/MainPage.xaml.cs

+ 1 - 0
Demo/Examples/PDFViewer/MainPage.xaml.cs

@@ -227,6 +227,7 @@ namespace PDFViewer
                     PopupBorder.Visibility = Visibility.Collapsed;
                     viewControl = passwordViewer;
                     LoadDocument();
+                    viewControl.PDFViewTool.GetCPDFViewer().ReInitCacheDoc();
                     FileChangeEvent?.Invoke(null, EventArgs.Empty);
                 }
                 else