Skip to content

Commit

Permalink
fix(Tabs): use relative paths to import to fix t-badge warn (#1239)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouxhere authored Feb 22, 2024
1 parent 1c8068a commit 51537ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tabs/tabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,14 @@ import { preventDefault } from '../shared/dom';
import CLASSNAMES from '../shared/constants';
import TSticky from '../sticky';
import { TdStickyProps } from '../sticky/type';
import TBadge from '../badge';
const { prefix } = config;
const name = `${prefix}-tabs`;
export default defineComponent({
name,
components: { TabNavItem, TSticky },
components: { TabNavItem, TSticky, TBadge },
props: TabsProps,
emits: ['update:value', 'update:modelValue'],
setup(props, context) {
Expand Down

0 comments on commit 51537ba

Please sign in to comment.