Commit 010f1956 authored by 刘明珠's avatar 刘明珠

去掉biz下的config.js

parent 5e938a31
/**
* @Author ygy
* @Description //TODO 获取地址栏参数
* @Date 19:43 2020/6/12
* @Param
* @return
**/
function getUrlParam (name) {
var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)');
var r = window.location.search.substr(1).match(reg);
if (r != null) return decodeURIComponent(r[2]);
return null;
}
// 公共配置
var config = {
// webUrl:"http://sbjs.tjsat.gov.cn:18001/web/onlineReport/jsp/", // 测试环境/生产环境
webUrl:"http://localhost:8088/web/onlineReport/jsp/", // 开发环境
url:"",// 开发环境配置跨域设置 // 开发环境
// url:"",// 开发环境配置跨域设置 // 开发环境// 测试环境/生产环境
spreadUrl:"sbjs.tjsat.gov.cn:18001",// 注册地址
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment