let baseUrl let wsUrl let domain let headUrl // #ifdef APP-PLUS if (process.env.NODE_ENV !== 'production') { //app 开发环境 baseUrl = ''; wsUrl = ''; domain = ''; } else { //app 生产环境 baseUrl = ''; wsUrl = ''; domain = ''; } // #endif // #ifndef APP-PLUS baseUrl = process.env.VUE_APP_BASE_URL; wsUrl = process.env.VUE_APP_WS_URL; domain = process.env.VUE_APP_DOMAIN_URL; // #endif export default { baseUrl, wsUrl, domain, headUrl, }