How does href of react-redux import variables

  node.js, question

图片描述

The webpage I wrote with antdesign, I want to add an incoming parameter to the href address of the A tag inside, but I don’t know how to write it. The above picture is written incorrectly.图片描述The actual address bar takes variables as constants and asks the great god to explain how to write them. ? Thank you

Attribute to use variables need to be written ashref={}Otherwise, it will be considered as a string

Can be written as

Href={"http:// ... "plus record.id}

Or

href={`http://.../${record.id}`}