Skip to content

Commit 5451f5c

Browse files
authored
fix(Tooltip): 修改构建报错 (#1821) (#1822)
1 parent 6959a4d commit 5451f5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/devui-vue/devui/tooltip/src/tooltip-types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const tooltipProps = {
5757
default: '',
5858
},
5959
teleport: {
60-
type: [String, HTMLElement] as PropType<TeleportProps['to']>,
60+
type: [String, Object] as PropType<TeleportProps['to']>,
6161
default: 'body',
6262
},
6363
};

0 commit comments

Comments
 (0)