let name = 'www.baidu.com/' <a :href="name"> 点击跳转到:localhost:8080/www.baidu.com/ 解决:写成<a :href="'https//:'+name">