即使在清理了图像资源的url之后,仍然无法渲染图像也给了我错误:不允许加载本地资源:
file:///D:/Projects/Test/Test/Images/pant.jpg
这是我的api:
[{"productName":"phone","imagePath":"D:/Projects/Test/Test/Images/pant.jpg"},
{"productName":"pant","imagePath":"D:/Projects/Test/Test/Images/phone.jpg"}]