feat: 视图增加$Controller对象,可以在视图层访问控制器方法;

This commit is contained in:
augushong
2025-04-23 14:06:46 +08:00
parent a4cc6c44eb
commit 09e31d5d75
2 changed files with 16 additions and 1 deletions

View File

@@ -124,6 +124,7 @@ class AdminControllerBase extends BaseController
$this->viewInit();
$this->initSort();
$this->assign('Controller', $this, -1);
}
public function initSort()