解决办法,在项目根目录添加Apache重写规则文件 .htaccess ,加入以下代码:<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.html$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{RE

- 阅读全文 -