@tmsfe/tms-core 0.0.36 → 0.0.37

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.36",
3
+ "version": "0.0.37",
4
4
  "description": "tms运行时框架",
5
5
  "repository": {
6
6
  "type": "git",
@@ -119,9 +119,7 @@ function getAppScene(): string {
119
119
 
120
120
  // 给非空字段都encodeURIComponent一下
121
121
  function encodeItems(arr: DataItem[]): DataItem[] {
122
- return arr.map(t => {
123
- return t ? encodeURIComponent(t) : t;
124
- });
122
+ return arr.map(t => (t ? encodeURIComponent(t) : t));
125
123
  }
126
124
 
127
125
  // 是否爬虫