@tmsfe/tms-core 0.0.67 → 0.0.70

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmsfe/tms-core",
3
- "version": "0.0.67",
3
+ "version": "0.0.70",
4
4
  "description": "tms运行时框架",
5
5
  "repository": {
6
6
  "type": "git",
@@ -77,8 +77,13 @@ function convert2String(value: any): string | null {
77
77
  */
78
78
  function convert2StringArray(arr: DataItem[]) {
79
79
  for (let i = 0; i < arr.length; i++) {
80
- // eslint-disable-next-line no-param-reassign
80
+ /* eslint-disable */
81
81
  arr[i] = convert2String(arr[i]);
82
+ if (arr[i]) {
83
+ // 后端是根据 | 来分割字段的,这里只好过滤掉
84
+ arr[i] = arr[i].replace(/\|/g, '[');
85
+ }
86
+ /* eslint-enable */
82
87
  }
83
88
  }
84
89