mirror of https://github.com/ElemeFE/element
parent
3768ba2bcf
commit
4ac6fed6a5
|
@ -52,8 +52,7 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
render(h) {
|
render(h) {
|
||||||
if (this.$isServer) return;
|
if (this.popperVM) {
|
||||||
|
|
||||||
this.popperVM.node = (
|
this.popperVM.node = (
|
||||||
<transition
|
<transition
|
||||||
name={ this.transition }
|
name={ this.transition }
|
||||||
|
@ -69,6 +68,7 @@ export default {
|
||||||
{ this.$slots.content || this.content }
|
{ this.$slots.content || this.content }
|
||||||
</div>
|
</div>
|
||||||
</transition>);
|
</transition>);
|
||||||
|
}
|
||||||
|
|
||||||
if (!this.$slots.default || !this.$slots.default.length) return this.$slots.default;
|
if (!this.$slots.default || !this.$slots.default.length) return this.$slots.default;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue