<li @click.stop="openSendMail()"> <i class="icons mail-icon" title="发送邮件"> <a href="mailto:" id="sendMail"></a> </i> </li> //打开发送邮件窗口 openSendMail(){ document.getElementById('sendMail').click(); },
<li @click.stop="openSendMail()"> <i class="icons mail-icon" title="发送邮件"> <a href="mailto:" id="sendMail"></a> </i> </li> //打开发送邮件窗口 openSendMail(){ document.getElementById('sendMail').click(); },