From e90b4d00cdead0d9da2c85559b429f5fc337594b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 2 Jun 2023 09:45:56 +0300 Subject: [PATCH] Refactor #3965 - ObjectUtils getVNodeProp update --- components/lib/utils/ObjectUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/utils/ObjectUtils.js b/components/lib/utils/ObjectUtils.js index bf761b26e..afdd015ba 100755 --- a/components/lib/utils/ObjectUtils.js +++ b/components/lib/utils/ObjectUtils.js @@ -195,7 +195,7 @@ export default { let kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase(); let propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop; - return vnode.props[prop] && vnode.props[prop].type === Boolean && props[propName] === '' ? true : props[propName]; + return vnode.type.extends.props[prop].type === Boolean && props[propName] === '' ? true : props[propName]; } return null;