2月7日 13:43

How to Call a Function Prop from Setup in Vue 3

Here is the code example:

html
<p @click="changeForm">Login</p>
javascript
export default { name: "Register", props: { changeForm: Function }, setup() { // ... } }
标签:Vue3