diff --git a/packages/runtime-core/src/componentProps.ts b/packages/runtime-core/src/componentProps.ts index 8baa78086..6d5c070b0 100644 --- a/packages/runtime-core/src/componentProps.ts +++ b/packages/runtime-core/src/componentProps.ts @@ -791,6 +791,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') {