Skip to content

Commit ca4aff8

Browse files
committed
fix: spread on string not working in IE, closes #323
1 parent c8a54cd commit ca4aff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directives/v-tooltip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export function createTooltip (el, value, modifiers = {}) {
158158
const opts = {
159159
title: content,
160160
...getOptions({
161-
...value,
161+
...(typeof value === 'object' ? value : {}),
162162
placement: getPlacement(value, modifiers),
163163
}),
164164
}

0 commit comments

Comments
 (0)