laravel-u-editor
laravel-u-editor copied to clipboard
跨域 的jsonp 请求 报错
GET http://xxxx:2222/laravel-u-editor-server/server?action=config&callback=bd__editor__vpkvby
返回的是 {image:...},不是应该返回bd__editor__vpkvby({image:...})吗?
laravel-u-editor/src/Controller.php@server
case 'config': $result = $config; break;
我也遇到同样的问题。但是我返回的是bd__editor__vpkvby({image:...}),感觉返回的没错,但是前端控制台报了一个错误:because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.