From c716d4b4414d08fd960d8da49f16dfda0613a8f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Tue, 13 Oct 2020 14:38:48 +0800 Subject: [PATCH] fix #674 --- src/components/table/table.vue | 4 +++- src/components/tabs/tabs.vue | 4 +++- src/components/tree/tree.vue | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/table/table.vue b/src/components/table/table.vue index e9145899..99d172d5 100644 --- a/src/components/table/table.vue +++ b/src/components/table/table.vue @@ -140,6 +140,8 @@ import tableHead from './table-head.vue'; import tableBody from './table-body.vue'; import tableSummary from './summary.vue'; + import Dropdown from '../dropdown/dropdown.vue'; + import DropdownMenu from '../dropdown/dropdown-menu.vue'; import Spin from '../spin/spin.vue'; import { oneOf, getStyle, deepCopy, getScrollBarSize } from '../../utils/assist'; import { on, off } from '../../utils/dom'; @@ -157,7 +159,7 @@ export default { name: 'Table', mixins: [ Locale ], - components: { tableHead, tableBody, tableSummary, Spin }, + components: { tableHead, tableBody, tableSummary, Spin, Dropdown, DropdownMenu }, provide () { return { tableRoot: this diff --git a/src/components/tabs/tabs.vue b/src/components/tabs/tabs.vue index a6c4d771..fcd12c5d 100644 --- a/src/components/tabs/tabs.vue +++ b/src/components/tabs/tabs.vue @@ -50,6 +50,8 @@