소스 검색

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

杨奕 8 년 전
부모
커밋
a02c6ed3c2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;