目前在学习Vue 3,使用了v-model 实现父子组件的数据交流。 ... @update:value="x = $event" /> // 简写<Button v-model:value="x" /> 复制代码 ...
確定! 回上一頁