@tmsfe/tms-core 0.0.110 → 0.0.112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/request.js +2 -1
package/package.json
CHANGED
package/src/request.js
CHANGED
|
@@ -321,7 +321,8 @@ export default class Request {
|
|
|
321
321
|
// 埋点已经单独打日志了,接口请求数据日志太长影响分析
|
|
322
322
|
if (path.indexOf('basic/event/upload') === -1) {
|
|
323
323
|
let result = JSON.stringify(res?.data);
|
|
324
|
-
|
|
324
|
+
// 打车日志不截断,方便用于回放
|
|
325
|
+
if (path.indexOf('/takecar/') === -1 && result.length > 500) {
|
|
325
326
|
result = `${result.substring(0, 500)} 内容太长被截断`;
|
|
326
327
|
}
|
|
327
328
|
const obj = {
|