diff --git a/examples/routers/table.vue b/examples/routers/table.vue
index a040292..705943a 100644
--- a/examples/routers/table.vue
+++ b/examples/routers/table.vue
@@ -1,6 +1,6 @@
diff --git a/src/components/table/cell.vue b/src/components/table/cell.vue
index 33cf668..2ad3b56 100644
--- a/src/components/table/cell.vue
+++ b/src/components/table/cell.vue
@@ -7,7 +7,7 @@
-
+
{{ row[column.key] }}
@@ -41,6 +41,7 @@
export default {
name: 'TableCell',
components: { Icon, Checkbox, TableExpand, TableSlot, Tooltip },
+ inject: ['tableRoot'],
props: {
prefixCls: String,
row: Object,
diff --git a/src/components/table/table.vue b/src/components/table/table.vue
index 50aa48e..d0c5f97 100644
--- a/src/components/table/table.vue
+++ b/src/components/table/table.vue
@@ -190,6 +190,12 @@
draggable: {
type: Boolean,
default: false
+ },
+ tooltipTheme: {
+ validator (value) {
+ return oneOf(value, ['dark', 'light']);
+ },
+ default: 'dark'
}
},
data () {
--
libgit2 0.21.4