Set image src with / in filename

前端 未结 0 1128
傲寒
傲寒 2021-01-20 03:06

Using javascript, I am setting the src property of an image object

    mainImage.src = filePath;

When filePath is something like C:\\images\\

相关标签:
回答
  • 消灭零回复
提交回复
热议问题