diff --git a/src/components/table/cell.vue b/src/components/table/cell.vue
index 2ad3b563..345fb6e7 100644
--- a/src/components/table/cell.vue
+++ b/src/components/table/cell.vue
@@ -7,7 +7,7 @@
-
+
{{ row[column.key] }}
@@ -62,6 +62,7 @@
uid: -1,
context: this.$parent.$parent.$parent.currentContext,
showTooltip: false, // 鼠标滑过overflow文本时,再检查是否需要显示
+ tooltipShow: false
};
},
computed: {
@@ -101,6 +102,12 @@
},
handleTooltipOut () {
this.showTooltip = false;
+ },
+ handleTooltipShow () {
+ this.tooltipShow = true;
+ },
+ handleTooltipHide () {
+ this.tooltipShow = false;
}
},
created () {