diff --git a/library/think/view.php b/library/think/view.php index dc81dfc0..5122b749 100644 --- a/library/think/view.php +++ b/library/think/view.php @@ -46,7 +46,7 @@ class View * @param array $config 配置参数 */ static public function getInstance(array $config = []){ - return self($config); + return new self($config); } /**