Browse Source

ConversionFlutter - 回调导出路径优化

chenyu 2 years ago
parent
commit
7233162465
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ios/Runner/ConvertUtil.swift

+ 1 - 1
ios/Runner/ConvertUtil.swift

@@ -188,7 +188,7 @@ class ConvertUtil : NSObject,CPDFConverterDelegate{
      
      @objc func converter(_ converter: CPDFConverter!, pageIndex index: UInt, pageCount count: UInt) {
          let progress = Double(index) / Double(count)
-         result?(Int(progress*100), converting, nil)
+         result?(Int(progress*100), converting, mPath)
      }
      
      @objc func converter(_ converter: CPDFConverter!, didEndConvert error: Error!) {