a链接里怎么去拼接从后台传过来的idjs要怎么写?哪位给讲一下,谢谢
<a href=`https://www.baidu.com?id=${id}`></div>
后台传过来的数据赋值给一个变量 href=${id}
${id}