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
When a prop is being watched using a string identifier in the watch decorator the watch is not properly converting the argument to a property access of props.
"import { ref } from \\"vue\\";constprops=defineProps<{"b": number;}>();consthandleBPropChange=(newVal: number)=>{foo.value=`${newVal}`;bar();};watch(b,handleBPropChange);// ^----- needs to be `props.b`
The text was updated successfully, but these errors were encountered:
When a prop is being watched using a string identifier in the watch decorator the watch is not properly converting the argument to a property access of
props
.The text was updated successfully, but these errors were encountered: