我正在使用laravel 10 php 8.10进行工作,这里的javascript ajax按钮在php artisan serve http://127.0.0.1上工作正常,但在**MAMP PRO**(localhost:8888)上出现错误(处理请求时出错),并且在url http://localhost:8888/xxx/public上不起作用。以下是html和js的片段:
需要帮助解决这个问题。
**HTML**
@if($row->soc_extra==1)
@else
@endif
>
@endforeach
**JS**
需要帮助解决这个问题。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号