Home > front end >  With what method to let img SRC value of {{test}} to??
With what method to let img SRC value of {{test}} to??

Time:09-16

The prawns, I have a problem don't know how to solve!
This is a web page. I need to display the image, image path is "image/{{a in the url to take a series of numerical}} - c - 0. JPG"
In the whole page & lt; Td> {{test}} & lt;/td> In the chart can display the numerical value, but the {{test}} the variable values to img SRC in just how can take to {{test}} value,,,,
I should with what method to let img SRC take to {{test}} value, then the normal path of the image?

CodePudding user response:

What do you use framework, check the documentation, whether can be the escape or escape, you have a look at the content of the framework into? Or the original output {{... If}}, then there is something wrong with the value

CodePudding user response:

Written: SRC="https://bbs.csdn.net/topics/test" try
CodePudding user response:

Settled, I finally with img01 innerHTML to replace the inside of the SRC code
  • Related