You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
windows 10 21H1 Chrome 90 / mac Chrome 90.0.4430.212
Steps to reproduce
I create a component "App", it's prop name is an array
I use vue-devtools find components "App",
throw an error "TypeError: str.replace is not a function", and components tree not work
<template><divid="app"><p>when name is an array {{JSON.stringify(name)}}</p><p>I find Commponents 'App'</P><p>throw an error <spanclass="warn">"TypeError: str.replace is not a function"</span></P></div></template><script>exportdefault{name: 'App',props: {// when name is an array, throw an error "TypeError: str.replace is not a function"name: {type: Array,default: ()=>['start','end']}},}</script>
Version
6.0.0-beta.12
Browser and OS info
windows 10 21H1 Chrome 90 / mac Chrome 90.0.4430.212
Steps to reproduce
What is expected?
no error
What is actually happening?
throw an error "TypeError: str.replace is not a function", and components tree not work
The text was updated successfully, but these errors were encountered: