gis-common 1.0.14 → 1.0.15
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/dist/resource.min.js +1 -5
- package/package.json +1 -1
package/dist/resource.min.js
CHANGED
|
@@ -1618,16 +1618,12 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
1618
1618
|
|
|
1619
1619
|
args = args.map(function (val) {
|
|
1620
1620
|
switch (CommUtils.getDataType(val)) {
|
|
1621
|
-
case 'Number':
|
|
1622
|
-
return val || 0;
|
|
1623
|
-
case 'String':
|
|
1624
|
-
return val || '';
|
|
1625
1621
|
case 'Object':
|
|
1626
1622
|
return val || '{}';
|
|
1627
1623
|
case 'Array':
|
|
1628
1624
|
return val || '[]';
|
|
1629
1625
|
default:
|
|
1630
|
-
return val
|
|
1626
|
+
return val || '';
|
|
1631
1627
|
}
|
|
1632
1628
|
});
|
|
1633
1629
|
return strArray.reduce(function (prev, next, index) {
|