This commit is contained in:
joyqi
2022-05-17 10:24:56 +08:00
parent 05e20c0ae5
commit 3119c05e2c
+1 -1
View File
@@ -263,7 +263,7 @@ class Options extends Base
* @param string|null $theme 模版名称
* @return string | void
*/
public function themeUrl(?string $path, ?string $theme)
public function themeUrl(?string $path = null, ?string $theme = null)
{
if (!isset($theme)) {
echo Common::url($path, $this->themeUrl);