From c008382d03297de7627b4b25ce0b081cccdcd556 Mon Sep 17 00:00:00 2001 From: buhuazhen <hua100783@gmail.com> Date: 星期三, 27 八月 2025 14:27:47 +0800 Subject: [PATCH] :zap: 对于前端修改 采购和应付 --- ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java index 0f48b11..3900552 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java @@ -55,6 +55,7 @@ public CorsFilter corsFilter() { CorsConfiguration config = new CorsConfiguration(); + config.setAllowCredentials(true); // 璁剧疆璁块棶婧愬湴鍧� config.addAllowedOriginPattern("*"); // 璁剧疆璁块棶婧愯姹傚ご -- Gitblit v1.9.3