Vue项目无法上传文件 由于默认nginx限制了文件上传大小,我们需要对其配置进行修改 对其http、server、location中文件上传进行大小设置成1024m! 亲测有效! 记得重启nginx才能生效 systemctl restart nginx.service