瀏覽代碼

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;