diff --git a/var/Widget/Options.php b/var/Widget/Options.php index 585e55f8..acd53a14 100644 --- a/var/Widget/Options.php +++ b/var/Widget/Options.php @@ -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);