dev_hjm_a
hjm 5 years ago
parent e346b4101e
commit 8b65317d97

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

Loading…
Cancel
Save