js获取项目路径

var location=(window.location+'').split("/");
var basePath=location[0]+'//'+location[2]+'/'+location[3];
var purl=basePath+'/match/matchData';

posted on 2016-06-21 21:29  静以修身!  阅读(497)  评论(0编辑  收藏  举报

导航