js 的src问题,在线等

图片说明
图片说明
为什么这样拼接,会报错误:http://localhost:56809/S3Media/PicturePath Failed to load resource: the server responded with a status of 404 (Not Found)
不是应该src=获取到的路径吗

你在拼接字符串的时候, 变量 已经和 字符串 混淆了。

应该用双引号 和 加号 区分拼接...

** PicturePath **

PicturePath 是变量哦,拼接的时候需要单独处理
例如:
html = " "