代码拉取完成,页面将自动刷新
Forest: 1.5.26
Backend: 不涉及
SpringBoot 环境下, 使用 Java API 方式声明的静态、动态变量绑定, SpringBoot 环境中无法生效
测试代码: https://gitee.com/dt_flys/forest-example.git
复现步骤:
ForestConfiguration configuration = Forest.config(); configuration.setVariableValue("var1", "val1"); configuration.setVariableValue("var2", (method) -> "val2"); SpringApplication.run(ForestExampleApplication.class, args);