Closed JackKuo-tw closed 5 years ago
您好,我按照這篇 教程的 UserGender 來寫 可是出現 Method Encore\Admin\Grid::__toString() must not throw an exception, caught Error: Class 'App\Admin\Controllers\UserGender' not found 是不是我需要 publish 一些東西出來?
Method Encore\Admin\Grid::__toString() must not throw an exception, caught Error: Class 'App\Admin\Controllers\UserGender' not found
加上
use App\Admin\Extensions\Tools\UserGender;
謝謝你這麼快回應我,成功囉!!!
您好,我按照這篇 教程的 UserGender 來寫 可是出現
Method Encore\Admin\Grid::__toString() must not throw an exception, caught Error: Class 'App\Admin\Controllers\UserGender' not found
是不是我需要 publish 一些東西出來?