|
|
@@ -62,11 +62,11 @@ tenantService.interceptors.request.use(
|
|
|
tenantService.interceptors.request.use(
|
|
|
config => {
|
|
|
const { tenant, org, user } = config.params || config.data || {}
|
|
|
- console.log('url', config.method, config.url)
|
|
|
- console.log('tenant', tenant)
|
|
|
- console.log('org', org)
|
|
|
- console.log('user', user)
|
|
|
if (!tenant && !org && !user) {
|
|
|
+ console.log('缺失scope信息', config.method, config.url)
|
|
|
+ console.log('tenant', tenant)
|
|
|
+ console.log('org', org)
|
|
|
+ console.log('user', user)
|
|
|
Message({
|
|
|
type: 'warning',
|
|
|
message: '缺失scope信息'
|