dever 7 年之前
父節點
當前提交
41fb5305cc
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/Store/Local.php

+ 2 - 0
src/Store/Local.php

@@ -160,6 +160,8 @@ class Local extends Core implements Config
 			$this->ext = '.webp';
 			$this->name .= '_wp' . $num;
 			$dest = $this->file();
+		} else {
+			$dest .= '.webp';
 		}
 
 		$this->img()->setType('im');