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