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.
@@ -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.toString();
1626
+ return val || '';
1631
1627
  }
1632
1628
  });
1633
1629
  return strArray.reduce(function (prev, next, index) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "gis-common",
3
3
  "description": "gis-common",
4
4
  "main": "dist/resource.min.js",
5
- "version": "1.0.14",
5
+ "version": "1.0.15",
6
6
  "author": "Guo.Yan <luv02@vip.qq.com>",
7
7
  "license": "MIT",
8
8
  "private": false,