fix: cascader trigger support custom component, close #5677
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…
Reference in New Issue