/********获取basePath********/
var curPath = window.document.location.href;
var PERFIX;
PERFIX = curPath.substring(0,curPath.indexOf("web"));
转载于:https://www.cnblogs.com/xxwtfw/p/9406640.html
/********获取basePath********/
var curPath = window.document.location.href;
var PERFIX;
PERFIX = curPath.substring(0,curPath.indexOf("web"));
转载于:https://www.cnblogs.com/xxwtfw/p/9406640.html