当前位置:网站首页>What's wrong with this paragraph that doesn't work? (unresolved)

What's wrong with this paragraph that doesn't work? (unresolved)

2022-07-05 06:17:00 hamimelon2020

<template>
<div>
    
<item v-model:title="bookTitle"></item>
</div>
</template>

<script>
export default {
    
    name: 'item',
props: {
    
    title: String
  },
  emits: ['update:title'],
  template: ` <input type="text" :value="title" @input="$emit('update:title', $event.target.value)"> `

}
</script>

原网站

版权声明
本文为[hamimelon2020]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140617451479.html