uni-app 路由mode是history模式的Nginx配置,解决uni-app页面刷新404问题 location /{ try_files $uri $uri/ /index.html last; }