瀏覽代碼

【综合】提取图片文件命名调整

niehaoyu 6 月之前
父節點
當前提交
d541011904

+ 1 - 1
PDF Office/PDF Master/Class/PDFTools/Convert/ExtractImage/Model/PDFConvertObject.swift

@@ -51,7 +51,7 @@ class PDFConvertObject: NSObject {
         self.delegate?.PDFConvertObjectDidEndConversion?(self, error: nil)
     }
     func imageNumberSuffix(_ imageIndex: Int) -> String {
-        let indexString = "(imageIndex)"
+        let indexString = String(format: "%d", imageIndex)
         var suffixString = ""
         if suffix > indexString.count {
             for _ in 0..<(suffix - indexString.count) {