js判断多条件

发布时间 2023-08-14 22:37:09作者: 雨崩

 

            if ((String(properties.SYDMC).includes(String(attributeValue)) || String(properties.SYDMC) == String(attributeValue)) &&
                (String(properties.AnotherField).includes(String(anotherAttributeValue)) || String(properties.AnotherField) == String(anotherAttributeValue))) {
            }