<script> export default { data(){ return{ message:0, put1:'www.96net.com.cn', } }, methods:{ dianji(e){ console.log(e); } } } </script> <template> <div> <div>{{message}}</div> <div :tit="put1" @click="dianji">点击</div> </div> </template>
标签:Vue,return,log,对象,default,调用,message From: https://www.cnblogs.com/96net/p/16797019.html