wt-enjoy-link-antd-repack 4.1.99 → 4.2.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAA;AA4RhD,eAAO,MAAM,OAAO,EAAE,CAAC,CAAC,GAAG,GAAG,EAAE,KAAK,EAAE,kBAAkB,KAAK,OAAO,CAAC,CAAC,CAuCtE,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,CAAC,CAAC,GAAG,GAAG,EAAE,KAAK,EAAE,kBAAkB,KAAK,OAAO,CAAC,CAAC,CAsBxE,CAAA;AAED,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAA;AA6RhD,eAAO,MAAM,OAAO,EAAE,CAAC,CAAC,GAAG,GAAG,EAAE,KAAK,EAAE,kBAAkB,KAAK,OAAO,CAAC,CAAC,CAuCtE,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,CAAC,CAAC,GAAG,GAAG,EAAE,KAAK,EAAE,kBAAkB,KAAK,OAAO,CAAC,CAAC,CAsBxE,CAAA;AAED,cAAc,QAAQ,CAAA"}
@@ -100,7 +100,7 @@ var versionHandle = function versionHandle() {
100
100
  var isWms = system === 'wms' ? true : false;
101
101
  if (!isWms) return;
102
102
  var version = localStorage.getItem("wt-".concat(system, "-app-version"));
103
- if (compareVersions(current, version) > 0) updateVersionHandle({
103
+ if (current && compareVersions(current, version) > 0) updateVersionHandle({
104
104
  type: 'WMS',
105
105
  version: current
106
106
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wt-enjoy-link-antd-repack",
3
- "version": "4.1.99",
3
+ "version": "4.2.01",
4
4
  "description": "万通业务组件",
5
5
  "sideEffects": false,
6
6
  "main": "dist/esm/index.js",