【发布时间】:2019-05-26 01:36:21
【问题描述】:
我低于 错误:
ErrorException 路由 [iocallreport/export-file/] 未定义。 (看法: E:\xampp\htdocs\ec2\html\pbxreport\resources\views\cms\reports\iocallreport.blade.php)
查看代码:
<a href="{{ route('iocallreport/export-file/',['type'=>'xls']) }}">Download Excel xls</a> |
<a href="{{ route('iocallreport/export-file/',['type'=>'xlsx']) }}">Download Excel xlsx</a> |
<a href="{{ route('iocallreport/export-file/',['type'=>'csv']) }}">Download CSV</a>
以下是我在 web.php
中的 routeRoute::get('/iocallreport/export-file/{type}', 'Cms\ReportsController@exportFile');
【问题讨论】: