专题文章
时长:00:00更新时间:2020-11-27 21:19:36
javascript获取web应用根目录的方法_javascript技巧: 代码如下: function getRootPath(){ var strFullPath=window.document.location.href; var strPath=window.document.location.pathname; var pos=strFullPath.indexOf(strPath); var prePath=st
查看详情