From aad13ca86995f50d47b2685a8e7a69bc6ecfebee Mon Sep 17 00:00:00 2001 From: chenzhihang <709011834@qq.com> Date: Mon, 28 Oct 2024 15:43:34 +0800 Subject: [PATCH] =?UTF-8?q?arm=E7=8E=AF=E5=A2=83=E4=B8=AD=E6=96=87?= =?UTF-8?q?=E4=B9=B1=E7=A0=81=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/platform/utils/YamlUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/utils/YamlUtils.java b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/utils/YamlUtils.java index 142406cf..6ef21447 100644 --- a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/utils/YamlUtils.java +++ b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/utils/YamlUtils.java @@ -30,7 +30,7 @@ public class YamlUtils { DumperOptions options = new DumperOptions(); options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); options.setDefaultScalarStyle(DumperOptions.ScalarStyle.PLAIN); - + options.setAllowUnicode(true); // 创建Yaml实例 Yaml yaml = new Yaml(options);