@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/request.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmsfe/tms-core",
3
- "version": "0.0.110",
3
+ "version": "0.0.112",
4
4
  "description": "tms运行时框架",
5
5
  "repository": {
6
6
  "type": "git",
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
- if (result.length > 500) {
324
+ // 打车日志不截断,方便用于回放
325
+ if (path.indexOf('/takecar/') === -1 && result.length > 500) {
325
326
  result = `${result.substring(0, 500)} 内容太长被截断`;
326
327
  }
327
328
  const obj = {