SOURCE

console 命令行工具 X clear

                    
>
console

            
<div id="app">
    <div></div>
    <input @input="handler" :value="input"/>
</div>

<script>
    new Vue({
        el: '#app',
        data: function() {
            return { 
                input: '' 
            }
        },
        methods: {
            focus($event) {
                
            },
            blur($event) {

            },
            handler ($event) {
                this.input = $event.target.value
                console.log($event)
            }
        }
    })
    
</script>

本项目引用的自定义外部资源