//获取路径
var pathName=window.document.location.pathname;
//截取,得到项目名称
var projectName=pathName.substring(0,pathName.substr(1).indexOf('/')+1);

相关文章:

  • 2022-12-23
  • 2022-01-24
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2021-10-06
  • 2021-10-12
  • 2021-11-06
猜你喜欢
  • 2022-01-27
  • 2021-11-27
  • 2021-08-11
  • 2022-12-23
  • 2021-12-05
相关资源
相似解决方案