No 'Access-Control-Allow-Origin' header is present on the requested resource.
当请求不同域名的静态文件时会出现上面跨域问题
解决方法:
1.开启apache的mod_headers模块
LoadModule headers_module modules/mod_headers.so
2.设置跨域访问权限
<FilesMatch "\.(ttf|otf|eot|woff|svg|woff2)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>