fix: cascader trigger support custom component, close #5677

pull/5682/head
tangjinzhou 3 years ago
parent e86a833b15
commit 361e818bcc

@ -390,7 +390,8 @@ export default defineComponent({
getRootDomNode() {
const { getTriggerDOMNode } = this.$props;
if (getTriggerDOMNode) {
return getTriggerDOMNode(this.triggerRef);
const domNode = findDOMNode(this.triggerRef);
return findDOMNode(getTriggerDOMNode(domNode));
}
try {

Loading…
Cancel
Save