diff --git a/packages/runtime-core/src/componentProps.ts b/packages/runtime-core/src/componentProps.ts index db8bf73a9a1..c88a0e53d9a 100644 --- a/packages/runtime-core/src/componentProps.ts +++ b/packages/runtime-core/src/componentProps.ts @@ -712,6 +712,9 @@ function getInvalidTypeMessage( * dev only */ function styleValue(value: unknown, type: string): string { + if (typeof value === 'symbol') { + value = value.toString() + } if (type === 'String') { return `"${value}"` } else if (type === 'Number') {