vue2.0中的v-model.sync
vue3.0废除了.sync用v-model:propName代替了
子组件child
<template>
<h1>{
{
title}}</h1>
<input v-model="msg" />
<button @click
vue2.0中的v-model.sync
vue3.0废除了.sync用v-model:propName代替了
子组件child
<template>
<h1>{
{
title}}</h1>
<input v-model="msg" />
<button @click