其他分享
首页 > 其他分享> > js全局变量

js全局变量

作者:互联网

var config = (function($){
//const baseUrl="http://127.0.0.1:8094";
const baseUrl="";
$.url = {
"rangesSave":baseUrl+"/ranges/save",
"rangesCount":baseUrl+"/ranges/count",
"rangesCheckPoint":baseUrl+"/ranges/check-point",
"rangesList":baseUrl+"/ranges/list",
"rangesListGroup":baseUrl+"/ranges/list-group",
}
return $;
})(window.config||{});

标签:const,point,list,baseUrl,js,ranges,全局变量,config
来源: https://www.cnblogs.com/syscn/p/14943210.html