我的这个问题是新版本和旧版升级的原因
如果不使用layout 将他设置为false
直接在Controller里设置:$this->layout = false;
自写义的外部action设置:$this->controller->layout = false;