Browse Source

【综合】首页拖拽新增文件,有新创建窗口的问题修复

tangchao 9 months ago
parent
commit
8a22b57975

+ 3 - 3
PDF Office/PDF Master/Class/Home/ViewController/KMHomeViewController+Action.swift

@@ -434,9 +434,9 @@ extension KMHomeViewController {
                             showLimitWindowAlert(url: url)
                             return
                         }else {
-                            if KMPreference.shared.openDocumentType == .newWindow {
-                                self.reopenDocument(forPaths: url)
-                            }
+//                            if KMPreference.shared.openDocumentType == .newWindow {
+//                                self.reopenDocument(forPaths: url)
+//                            }
                         }
                     }
                 }