mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
Popover: add reference slot
This commit is contained in:
@@ -63,7 +63,7 @@ export default {
|
||||
|
||||
const options = this.options;
|
||||
const popper = this.popper || this.$refs.popper;
|
||||
const reference = this.reference || this.$refs.reference;
|
||||
const reference = this.reference || this.$refs.reference || this.$slots.reference[0].elm;;
|
||||
|
||||
if (!popper || !reference) return;
|
||||
if (this.visibleArrow) {
|
||||
|
||||
Reference in New Issue
Block a user