浏览代码

修改编译错误

jsonwang 3 年之前
父节点
当前提交
d9b2f9f878
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      BFFramework/Classes/Stuckpoint/Controller/PQStuckPointEditerController.swift

+ 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"