SOURCE

console 命令行工具 X clear

                    
>
console
new Vue({
    el:"#exercise",
    data:{
		abat:'这里是什么',
        effectClasses:{
			highlight:false,
			shrink:true
        }
    },
    methods:{
		startEffect:function(){
			
		}
    }
});
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<div id="exercise">
    <div>
		<button @click="startEffect">Start Effect</button>
		<div id="effect" v-bind:class="effectClasses"></div>
	</div>
</div>
#effect{width:100px; height:100px; border:1px solid black;}
.highlight{ background-color:red; width:200px !important; }
.shrink{background-color:gray; width:50px !important;}