js判断多条件

 

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

 

posted @ 2023-08-14 22:31  雨崩  阅读(234)  评论(0编辑  收藏  举报