src/MVC/View.php
private function obRenderAction($data, $method)
    {
        ob_start();
        $this->$method($data);
        $content = ob_get_clean();

        if ($this->set['load_layer']) {
            $this->loadLayer($content);
        } else {
            echo $content;
        }
    }
private function obRenderAction($data, $method)
    {
        ob_start();
        $this->$method($data);
        $content = ob_get_clean();

        if ($this->set['load_layer']) {
            $this->loadLayer($content);
        } else {
            echo $content;
        }
    }
输出带layer的view

@param array $data
@param string $method
@return string|void
@throws CoreException