Преглед изворни кода

Revert "fix(关系): 优化固定值的判断"

This reverts commit 015df6d6
zhangji пре 2 година
родитељ
комит
8fac4eab36

+ 1 - 1
jetlinks-components/relation-component/src/main/java/org/jetlinks/community/relation/utils/VariableSource.java

@@ -111,7 +111,7 @@ public class VariableSource implements Serializable {
                                 ConfigKey<?> propertyPath) {
         validate();
         if (getSource() == VariableSource.Source.fixed) {
-            return value == null ? Flux.empty() : CastUtils.flatStream(Flux.just(value));
+            return CastUtils.flatStream(Flux.just(value));
         }
         if (getSource() == VariableSource.Source.upper) {
             return Mono