一、watch侦听属性 通过 watch 来响应数据的变化,下面实现一个港币-人民币兑换的功能: <template> <div id="hello"> <p>人民币/港币换算</p> <p>人民币: <input type = "text" v-model