提交 2057d8ab 编写于 作者: A Alex Dima 提交者: Eric Amodio

Fix build

上级 8ca857a9
......@@ -448,7 +448,7 @@ export class ContextKeyInExpr implements IContextKeyExpression {
const item = context.getValue(this.key);
if (Array.isArray(source)) {
return source.includes(item);
return (source.indexOf(item) >= 0);
}
if (typeof item === 'string' && typeof source === 'object' && source !== undefined && source !== null) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册