Ver Fonte

Table: fix a handleClosePopper bug, fixed #3888 (#4085)

杨奕 há 8 anos atrás
pai
commit
a02c6ed3c2
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      packages/table/src/table-body.js

+ 1 - 1
packages/table/src/table-body.js

@@ -221,7 +221,7 @@ export default {
     },
 
     handleCellMouseLeave(event) {
-      this.$refs.tooltip.handleClosePopper();
+      this.$refs.tooltip && this.$refs.tooltip.handleClosePopper();
       const cell = getCell(event);
       if (!cell) return;