SOURCE

console 命令行工具 X clear

                    
>
console
var app = new Vue({
  el: '#app',
  data: {
    message: 'Hello Vue!'
  },
  methods: {
      changeTitle: function(event) {
          this.message = event.target.value;
      }
  }
})
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<div id="app">
    <input type="text" v-on:input="changeTitle">
 <p>{{message}}</p>
</div>