Browse Source

修改编译错误

jsonwang 3 years ago
parent
commit
d9b2f9f878

+ 1 - 1
BFFramework/Classes/Stuckpoint/Controller/PQStuckPointEditerController.swift

@@ -1914,7 +1914,7 @@ extension PQStuckPointEditerController {
                                 material.asset == photo.asset
                             })
 // MARK: SanW-2021.11.15-不在导出到沙盒,直接用本地地址
-                            tempPhoto?.locationPath = fileName?.replacingOccurrences(of: "file:///", with: "")
+                            tempPhoto?.locationPath = fileName.replacingOccurrences(of: "file:///", with: "")
 //                            if fileName.count > 0 {
 //                                createDirectory(path: photoLibraryDirectory)
 //                                let outFilePath = photoLibraryDirectory + fileName.md5 + ".mp4"