|
|
@@ -5,8 +5,10 @@ export default {
|
|
|
BA: {
|
|
|
/** 无orgId 熔断请求 */
|
|
|
checkOrgId(urlObj) {
|
|
|
- const orgId = getLocalStorage('mwxorg')
|
|
|
- if (!orgId) return Promise.reject('无orgId')
|
|
|
+ if (localStorage.hasOwnProperty('mwxorg')) {
|
|
|
+ const orgId = getLocalStorage('mwxorg')
|
|
|
+ if (!orgId) return Promise.reject('无orgId')
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
},
|