|
@@ -75,7 +75,7 @@ qmInstance.interceptors.response.use(
|
|
|
|
|
|
// TODO: 由于chrome58不支持navigator.connection.downlink , 所以无法判断客户端网络状况
|
|
|
|
|
|
- let detailInfo = " ||| ";
|
|
|
+ let detailInfo = "";
|
|
|
try {
|
|
|
detailInfo +=
|
|
|
error.config.url.replace(/\d+/g, "") + " ||| " + error.message;
|
|
@@ -86,7 +86,8 @@ qmInstance.interceptors.response.use(
|
|
|
window._hmt.push([
|
|
|
"_trackEvent",
|
|
|
location.pathname.replace(/\d+/g, ""),
|
|
|
- "网络连接异常,请检查网络设置。" + detailInfo,
|
|
|
+ "网络连接异常,请检查网络设置。",
|
|
|
+ detailInfo,
|
|
|
]);
|
|
|
|
|
|
return Promise.reject(error);
|