VUE-跳转链接拼接带参

举例需求:在A标签的跳转地址上带上参数openid?

实现方法:

<a :href="'userinfo.html?openid='+item2.openid" class="goIntime">浏览过{{item2.num}}次</a>

  

posted @ 2021-01-13 10:29  MiniDuck  阅读(656)  评论(0编辑  收藏  举报