@tmsfe/tms-core 0.0.35 → 0.0.36
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/report/helper.ts +3 -1
package/package.json
CHANGED
package/src/report/helper.ts
CHANGED
|
@@ -119,7 +119,9 @@ function getAppScene(): string {
|
|
|
119
119
|
|
|
120
120
|
// 给非空字段都encodeURIComponent一下
|
|
121
121
|
function encodeItems(arr: DataItem[]): DataItem[] {
|
|
122
|
-
return arr.map(t =>
|
|
122
|
+
return arr.map(t => {
|
|
123
|
+
return t ? encodeURIComponent(t) : t;
|
|
124
|
+
});
|
|
123
125
|
}
|
|
124
126
|
|
|
125
127
|
// 是否爬虫
|