芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/www/vendor/laravel/jetstream/src/InertiaManager.php
renderingCallbacks[$page])) { foreach ($this->renderingCallbacks[$page] as $callback) { $data = $callback($request, $data); } } return Inertia::render($page, $data); } /** * Register a rendering callback. * * @param string $page * @param callable $callback * @return $this */ public function whenRendering(string $page, callable $callback) { $this->renderingCallbacks[$page][] = $callback; return $this; } }