JavaScript/vue.js/链接

来自康健生活

引言

实现

<a :href ="'/Search?_id='+keyWord+'.html'"
  • href前面要加 :
  • 字符串要用单引号 ’
  • 外链句尾加 .html