dev_ec
杨树林 5 years ago
parent b7f46688e3
commit 4e61419e9c

@ -83,9 +83,9 @@ export function initAxiosInterceptors(props) {
} }
config.url = `${proxy}${url}`; config.url = `${proxy}${url}`;
if (config.url.indexOf('?') == -1) { if (config.url.indexOf('?') == -1) {
config.url = `${config.url}?debug=${'student'}` config.url = `${config.url}?debug=${'admin'}`
} else { } else {
config.url = `${config.url}&debug=${'student'}` config.url = `${config.url}&debug=${'admin'}`
} }
} else { } else {
// 加api前缀 // 加api前缀

Loading…
Cancel
Save