Explorar o código

Tooltip: fix bug in ssr, fixed #3152 (#3153)

cinwell.li %!s(int64=8) %!d(string=hai) anos
pai
achega
096aaee30c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      packages/tooltip/src/main.js

+ 2 - 0
packages/tooltip/src/main.js

@@ -52,6 +52,8 @@ export default {
   },
 
   render(h) {
+    if (this.$isServer) return;
+
     this.popperVM.node = (
       <transition
         name={ this.transition }