const getLocationOrigin = () => { return window.location.protocol + '//' + window.location.hostname + (window.location.port ? ':' + window.location.port : '') } const companyName = '客户服务管理系统' const version = 'V11.1.0' const baiduKey = '百度key' export default { version, companyName, getLocationOrigin, baiduKey } // 编写一个冒泡排序