dom元素这样写:
<i @click="iconToogle($event)" class="iconfont icon-xuanzhong1"></i>
vue实例中的methods的写法:
function (event){
console.log($(event.target)},
dom元素这样写:
<i @click="iconToogle($event)" class="iconfont icon-xuanzhong1"></i>
vue实例中的methods的写法:
function (event){
console.log($(event.target)},