找不到css 路径问题

今天进入一个网页的时候,一直报找不到css的错误,但是我的路径原来是正确的

后来找网络控制台,发现路径上多了一个listCommodity,是我controller里面的跳到这个页面的路径

然后我在<link rel="stylesheet" href="css/pintuer.css">的css前加上斜杠,才正确<link rel="stylesheet" href="/css/pintuer.css">

还是路径的问题,以后有空这方面还是要多研究

相关文章:

  • 2021-04-16
  • 2022-12-23
  • 2022-12-23
  • 2022-01-13
  • 2021-12-30
  • 2021-06-15
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-10
  • 2022-12-23
  • 2022-12-23
  • 2021-09-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案