2020
10-08
10-08
使用vue实现通过变量动态拼接url
如何通过变量动态拼接url?格式:<a:href="'index.shtml?other='+object.name"rel="externalnofollow"rel="externalnofollow">这是一个动态链接</a>需要注意的是href前要加上冒号,href最外层是双引号,中间是单引号。<divclass="tab-content"id="datatable"><divv-for="(object,index)initems"><!-格式如下,href前要加上冒号---><a:href="'index.shtml?other='+object.name"rel="externalnofollow"...
继续阅读 >