mirror of https://github.com/ElemeFE/element
fixed dropdown splitButton
parent
75c10ba79f
commit
3019e0a770
|
@ -51,7 +51,7 @@
|
||||||
initEvent() {
|
initEvent() {
|
||||||
let { trigger, show, hide, handleClick, splitButton } = this;
|
let { trigger, show, hide, handleClick, splitButton } = this;
|
||||||
let triggerElm = splitButton
|
let triggerElm = splitButton
|
||||||
? this.$refs.trigger
|
? this.$refs.trigger.$el
|
||||||
: this.$slots.default[0].elm;
|
: this.$slots.default[0].elm;
|
||||||
|
|
||||||
if (trigger === 'hover') {
|
if (trigger === 'hover') {
|
||||||
|
|
Loading…
Reference in New Issue