@ -74677,8 +74677,7 @@ var debugType="";if(__WEBPACK_IMPORTED_MODULE_5_educoder__["V" /* isDev */]){var
window . _debugType = debugType ; function initAxiosInterceptors ( props ) { initOnlineOfflineListener ( ) ; // TODO 避免重复的请求 https://github.com/axios/axios#cancellation
window . _debugType = debugType ; function initAxiosInterceptors ( props ) { initOnlineOfflineListener ( ) ; // TODO 避免重复的请求 https://github.com/axios/axios#cancellation
// https://github.com/axios/axios/issues/1497
// https://github.com/axios/axios/issues/1497
// TODO 读取到package.json中的配置?
// TODO 读取到package.json中的配置?
var //proxy = "http://localhost:3000"
var proxy = "http://localhost:3000" ; //proxy = "http://testbdweb.trustie.net"
//proxy = "http://testbdweb.trustie.net"
//proxy = "http://testbdweb.educoder.net"
//proxy = "http://testbdweb.educoder.net"
// proxy = "https://testeduplus2.educoder.net"
// proxy = "https://testeduplus2.educoder.net"
//proxy="http://47.96.87.25:48080"
//proxy="http://47.96.87.25:48080"
@ -74686,7 +74685,8 @@ var//proxy = "http://localhost:3000"
// proxy="https://test-newweb.educoder.net"
// proxy="https://test-newweb.educoder.net"
//proxy="https://test-jupyterweb.educoder.net"
//proxy="https://test-jupyterweb.educoder.net"
//proxy="http://192.168.2.63:3001"
//proxy="http://192.168.2.63:3001"
proxy = "http://123.59.135.93:56666" ; // 在这里使用requestMap控制, 避免用户通过双击等操作发出重复的请求;
// proxy="http://123.59.135.93:56666"
// 在这里使用requestMap控制, 避免用户通过双击等操作发出重复的请求;
// 如果需要支持重复的请求, 考虑config里面自定义一个allowRepeat参考来控制
// 如果需要支持重复的请求, 考虑config里面自定义一个allowRepeat参考来控制
var requestMap = { } ; window . setfalseInRequestMap = function ( keyName ) { requestMap [ keyName ] = false ; } ; _ _WEBPACK _IMPORTED _MODULE _3 _axios _ _ _default . a . interceptors . request . use ( function ( config ) { // if (token) { // 每次发送请求之前判断是否存在token, 如果存在, 则统一在http请求的header都加上token, 不用每次请求都手动添加了
var requestMap = { } ; window . setfalseInRequestMap = function ( keyName ) { requestMap [ keyName ] = false ; } ; _ _WEBPACK _IMPORTED _MODULE _3 _axios _ _ _default . a . interceptors . request . use ( function ( config ) { // if (token) { // 每次发送请求之前判断是否存在token, 如果存在, 则统一在http请求的header都加上token, 不用每次请求都手动添加了
// config.headers.Authorization = token;
// config.headers.Authorization = token;