vjue 点击发送邮件如何处理

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

 

posted @ 2017-07-15 18:15  Lonely,lonelyBurning  阅读(558)  评论(0编辑  收藏  举报