下面展示一些 内联代码片。
内联代码片
@click="search($event)"; search(e){ //获取所有元素 console.log(e); //获取文字 console.log(e.currentTarget.innerText); }