🐘Route::currentRouteName()获取值为null
2021-7-2
| 2024-1-9
0  |  阅读时长 0 分钟
type
status
date
slug
summary
tags
category
icon
password
在使用laravel时,使用route::currentRouteName()获取到null值需要在路由中添加→name()命名该路由
Route::any('test/index','Admin\TestController@index')->name('test/index');
 
  • laravel
  • 开发
  • windows终端中oh-my-posh不显示conda虚拟环境的解决方法php执行GuzzleHttp时发生cURL error 60: SSL certificate problem错误
    Loading...
    目录