diff --git a/kiri-engine/Di/LocalService.php b/kiri-engine/Di/LocalService.php index a4fde8c1..76fe99cd 100644 --- a/kiri-engine/Di/LocalService.php +++ b/kiri-engine/Di/LocalService.php @@ -28,6 +28,7 @@ class LocalService extends Component unset($this->_components[$name]); $this->_definition[$name] = $define; + $this->_components[$name] = $define; }