出现跨域的解决方式
1.当预处理请求options失败, 代码报错 会出现跨域cors,排查错误代码
2.设置路由跨域 Route::GET('search/list', 'Index/list')->allowCrossDomain();