repository()->grid(); } /** * 详情页面 * * @param mixed $id * @return Show */ protected function detail($id): Show { return $this->repository()->detail($id); } /** * 表单页面 * * @return Form */ protected function form(): Form { return $this->repository()->form(); } }