watch的作用 watch它可以让我们深度监听一个值的变化,从而做出相对的反应 <div id="app"> 用户名:<input type="text" v-model='name'> <p>你的名字是:{ { name}}