mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	reset 回滚代码生成相关修复提交
This commit is contained in:
		@@ -196,6 +196,7 @@ public class GenController extends BaseController {
 | 
			
		||||
     * 生成zip文件
 | 
			
		||||
     */
 | 
			
		||||
    private void genCode(HttpServletResponse response, byte[] data) throws IOException {
 | 
			
		||||
        response.reset();
 | 
			
		||||
        response.addHeader("Access-Control-Allow-Origin", "*");
 | 
			
		||||
        response.addHeader("Access-Control-Expose-Headers", "Content-Disposition");
 | 
			
		||||
        response.setHeader("Content-Disposition", "attachment; filename=\"ruoyi.zip\"");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user