ob_end_clean();
return $img->response();
這個問題困擾了我一整天,因爲使用save那些都是可以的,就是response不行,最後在外網上搜索,發現在結尾用response()輸出前,前面加一句ob_end_clean();即可。
ob_end_clean();
return $img->response();
這個問題困擾了我一整天,因爲使用save那些都是可以的,就是response不行,最後在外網上搜索,發現在結尾用response()輸出前,前面加一句ob_end_clean();即可。
解決辦法; 在yarn 後面加 --no-bin-links 如 yarn install --no-bin-links