_ViewStart.cshtml 添加的代码会出现在页面的最上面(<html> 之前) 。这样就造成了我原先很多页面出现兼容性问题(经难是因为<html>之前出现了其它的代码)。

而我的js应该是在</html>里才正常。

有没有办法在 _ViewStart.cshtml 里实现添加的html代码正常出现在</html>上?

 

_ViewStart.cshtml  这个是模版   引用这个文件就不要再添加<html></html>

相关文章:

  • 2022-12-23
  • 2021-09-04
  • 2021-07-11
  • 2021-08-18
  • 2022-02-09
  • 2022-01-04
  • 2022-12-23
猜你喜欢
  • 2021-12-23
  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
  • 2022-02-06
  • 2021-11-03
相关资源
相似解决方案