js获取工程名
var pathName=window.document.location.pathname;
var projectName=pathName.substring(0,pathName.substr(1).indexOf('/')+1);
alert(projectName);
基础 js
最新推荐文章于 2022-07-21 13:26:26 发布