import department from './department' // import dataSource from './apiField/dataSource'; const host = '/sysApi' let nozzle = { userTree: '/task/userTree' // 登录页 } // for (let items in department) { // nozzle[items] = department[items]; // } for (const item in nozzle) { nozzle[item] = host + nozzle[item] } // nozzle = Object.assign(nozzle, project) nozzle = Object.assign(nozzle, department) // nozzle = Object.assign(nozzle, dataSource); export default nozzle