在项目中显示图片需要加时间戳,

上传图片修改图片后,如果图片路径名字未有改变,服务器会认为是同一个请求,会用缓存数据代替请求数据,

这个时候需要在图片显示路径后加时间戳

//问号(?)加系统提前时间
M_Base64Pic.Src = ImageUrl + "Community/" + picPath+"?"+System.DateTime.Now;

相关文章:

  • 2022-03-05
  • 2022-12-23
  • 2022-02-27
  • 2022-12-23
  • 2021-07-19
  • 2021-08-05
  • 2021-11-08
  • 2022-12-23
猜你喜欢
  • 2021-05-29
  • 2022-12-23
  • 2021-10-03
  • 2019-05-23
  • 2022-02-02
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案