Explorar el Código

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

cinwell.li hace 8 años
padre
commit
096aaee30c
Se han modificado 1 ficheros con 2 adiciones y 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 }