找到LoadModule,加上 LoadModule headers_module modules/mod_headers.so
找到<Directory /> ,改为:
<Directory /> AllowOverride None Require all granted Header set Access-Control-Allow-Origin * </Directory>